diff options
Diffstat (limited to 'gdb/event-loop.h')
-rw-r--r-- | gdb/event-loop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/event-loop.h b/gdb/event-loop.h index 6076254d7cb..69c38e704a0 100644 --- a/gdb/event-loop.h +++ b/gdb/event-loop.h @@ -24,7 +24,9 @@ #include <signal.h> #include <unistd.h> #include <fcntl.h> +#ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> +#endif #include "defs.h" /* An event loop listens for events from multiple event sources. When |