diff options
author | Doug Evans <dje@google.com> | 2009-12-19 01:24:51 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2009-12-19 01:24:51 +0000 |
commit | e946488510bafc86fde2f58a6da1709b20b61bef (patch) | |
tree | b111b165c8b4894704fb830f609917eeaec13fe3 /gdb/gdbserver/event-loop.c | |
parent | 07d4f67e9d89774b962d0b506e1b478125c6189a (diff) | |
download | gdb-e946488510bafc86fde2f58a6da1709b20b61bef.zip gdb-e946488510bafc86fde2f58a6da1709b20b61bef.tar.gz gdb-e946488510bafc86fde2f58a6da1709b20b61bef.tar.bz2 |
* event-loop.c: Include unistd.h if it exists.
Diffstat (limited to 'gdb/gdbserver/event-loop.c')
-rw-r--r-- | gdb/gdbserver/event-loop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/event-loop.c b/gdb/gdbserver/event-loop.c index a76a178..78f9167 100644 --- a/gdb/gdbserver/event-loop.c +++ b/gdb/gdbserver/event-loop.c @@ -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); |