From: Michael Sokolov Date: Sat, 27 Jan 2001 21:16:09 +0000 (+0000) Subject: * basic_blocks.c: #include only if it exists. X-Git-Tag: x86_64versiong3~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8c9d62872b1c88414662ee899fbd682f6a14062;p=thirdparty%2Fbinutils-gdb.git * basic_blocks.c: #include only if it exists. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 58503656d75..50eea2da5dd 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +2001-01-27 Michael Sokolov + + * basic_blocks.c: #include only if it exists. + 2000-11-06 Nick Clifton * gprof.texi: Add GNU Free Documentation License. diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c index 926743ff057..fa6afe7a0d9 100644 --- a/gprof/basic_blocks.c +++ b/gprof/basic_blocks.c @@ -22,7 +22,6 @@ 02111-1307, USA. */ #include -#include #include "basic_blocks.h" #include "corefile.h" #include "gmon_io.h" @@ -31,6 +30,9 @@ #include "libiberty.h" #include "source.h" #include "sym_ids.h" +#ifdef HAVE_UNISTD_H +#include +#endif /* Default option values: */ bool bb_annotate_all_lines = FALSE;