* event-loop.c: Include unistd.h if it exists.

This commit is contained in:
Doug Evans 2009-12-19 01:24:51 +00:00
parent 07d4f67e9d
commit e946488510
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2009-12-18 Doug Evans <dje@google.com>
* event-loop.c: Include unistd.h if it exists.
* linux-low.c (my_waitpid): Move definition away from being in
between linux_tracefork_child/linux_test_for_tracefork.

View File

@ -34,6 +34,10 @@
#include <errno.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
typedef struct gdb_event gdb_event;
typedef void (event_handler_func) (int);