From 6e86fc6eeaf381b9e112ceb58b9c1325dc945b7e Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 10 Sep 2015 15:10:52 +0200 Subject: [PATCH] rtld.1: Improve _rtld_functrace example The man page was written at a time that gcc was "leaking" headers. Now is required for this example to compile. --- libexec/rtld-elf/rtld.1 | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1 index a871661ff4..1b999cb34d 100644 --- a/libexec/rtld-elf/rtld.1 +++ b/libexec/rtld-elf/rtld.1 @@ -302,6 +302,7 @@ To set up an for printing out the functions as they are called, this code can be used: .Bd -literal -offset indent #include +#include static int nl = 10; -- 2.41.0