aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-08-18 23:04:24 +0000
committerJason Molenda <jmolenda@apple.com>1998-08-18 23:04:24 +0000
commit4ff3dfab548b25c2b413095dc021e6ab32fab22b (patch)
treef360200560ec63d05cb32245ec138f4026236523 /gdb/command.c
parent1aecc7dccb3ed3995f7c2f92fd728e4cc6d5cc4c (diff)
downloadfsf-binutils-gdb-4ff3dfab548b25c2b413095dc021e6ab32fab22b.zip
fsf-binutils-gdb-4ff3dfab548b25c2b413095dc021e6ab32fab22b.tar.gz
fsf-binutils-gdb-4ff3dfab548b25c2b413095dc021e6ab32fab22b.tar.bz2
1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Add more header files to AC_CHECK_HEADERS. * configure: Regenerated. * command.c: Include wait.h or sys/wait.h if present. * inftarg.c: Ditto. * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based on autoconf test. * infptrace.c: Ditto. * expprint.c: Include ctype.h for isprint prototype. * i386aix-nat.c: Include sys/reg.h if autoconf says it is present. * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if present, based on autoconf test. * utils.c: Include curses.h and term.h if present. (puts_debug): Change 'carriage_return' local variable to return_p to avoid name clash. * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE, determine it with autoconf. * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it with autoconf. * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it with autoconf. * config/i386/nm-i386v.h: Ditto. * config/i386/nm-symmetry.h: Ditto. * config/m88k/xm-cxux.h: Ditto. * config/m88k/xm-dgux.h: Ditto. * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary. * config/m68k/nm-delta68.h: Removed.
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/command.c b/gdb/command.c
index 8109b93..962101d 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -26,6 +26,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <unistd.h>
#endif
+#ifdef HAVE_WAIT_H
+# include <wait.h>
+#else
+# ifdef HAVE_SYS_WAIT_H
+# include <sys/wait.h>
+# endif
+#endif
+
/* Prototypes for local functions */
static void