mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
* event-loop.c: Include unistd.h if it exists.
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
2009-12-18 Doug Evans <dje@google.com>
|
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
|
* linux-low.c (my_waitpid): Move definition away from being in
|
||||||
between linux_tracefork_child/linux_test_for_tracefork.
|
between linux_tracefork_child/linux_test_for_tracefork.
|
||||||
|
|
||||||
|
@ -34,6 +34,10 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct gdb_event gdb_event;
|
typedef struct gdb_event gdb_event;
|
||||||
typedef void (event_handler_func) (int);
|
typedef void (event_handler_func) (int);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user