* basic_blocks.c: #include <unistd.h> only if it exists.

This commit is contained in:
Michael Sokolov 2001-01-27 19:54:49 +00:00
parent 8679174dc4
commit b71c67aba4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-01-27 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* basic_blocks.c: #include <unistd.h> only if it exists.
2000-11-06 Nick Clifton <nickc@redhat.com>
* gprof.texi: Add GNU Free Documentation License.

View File

@ -22,7 +22,6 @@
02111-1307, USA. */
#include <stdio.h>
#include <unistd.h>
#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 <unistd.h>
#endif
/* Default option values: */
bool bb_annotate_all_lines = FALSE;