mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* event-loop.c: Include unistd.h if it exists.
This commit is contained in:
parent
07d4f67e9d
commit
e946488510
@ -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.
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user