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".
This commit is contained in:
Andrew Cagney
1998-10-15 06:59:40 +00:00
parent c55ea9e781
commit dd87762571
2 changed files with 28 additions and 1 deletions

View File

@ -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