diff options
Diffstat (limited to 'gdb/command.c')
-rw-r--r-- | gdb/command.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/command.c b/gdb/command.c index cb04541..94acb35 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -23,12 +23,10 @@ #include <ctype.h> #include "gdb_string.h" -#ifdef HAVE_WAIT_H -#include <wait.h> -#else -#ifdef HAVE_SYS_WAIT_H +#if HAVE_SYS_WAIT_H #include <sys/wait.h> -#endif +#elif HAVE_WAIT_H +#include <wait.h> #endif #include "wait.h" |