aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-10-15 06:59:40 +0000
committerAndrew Cagney <cagney@redhat.com>1998-10-15 06:59:40 +0000
commitdd877625717287a033b572ac8d90f65f6bfbc173 (patch)
tree74d1f52e67b617a4b2fcc22b12eeca34b13e96ca /gdb/command.c
parentc55ea9e78148da84ad4ce2334c8d9a1d93fcfa0f (diff)
downloadgdb-dd877625717287a033b572ac8d90f65f6bfbc173.zip
gdb-dd877625717287a033b572ac8d90f65f6bfbc173.tar.gz
gdb-dd877625717287a033b572ac8d90f65f6bfbc173.tar.bz2
command.c: Include "wait.h" after, rather than before, <wait.h>.
"wait.h" was defining all WIF* macro's instead of filling in those that <wait.h> missed. Stops heaps of warnings from <wait.h> re-defining WIF*s defined in "wait.h".
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/command.c b/gdb/command.c
index 962101d..10308d5 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -19,7 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "gdbcmd.h"
#include "symtab.h"
#include "value.h"
-#include "wait.h"
#include <ctype.h>
#include "gdb_string.h"
#ifdef HAVE_UNISTD_H
@@ -34,6 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# endif
#endif
+#include "wait.h"
+
/* Prototypes for local functions */
static void