summaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-10-05 23:13:56 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-10-05 23:13:56 +0000
commitce8537f129e0aa7823f1e9ff610baea9edd4f9ce (patch)
tree44c31e9e3ca76fb002295a2ddafc1f6aa9a91a9e /gdb/command.c
parente61b94e5346142170a372e22f687753fcae79595 (diff)
downloadgdb-ce8537f129e0aa7823f1e9ff610baea9edd4f9ce.tar.gz
import gdb-1999-10-04 snapshot
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/command.c b/gdb/command.c
index cb04541f509..94acb357da9 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"