aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386aix-nat.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/i386aix-nat.c
parent1aecc7dccb3ed3995f7c2f92fd728e4cc6d5cc4c (diff)
downloadgdb-4ff3dfab548b25c2b413095dc021e6ab32fab22b.zip
gdb-4ff3dfab548b25c2b413095dc021e6ab32fab22b.tar.gz
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/i386aix-nat.c')
-rw-r--r--gdb/i386aix-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386aix-nat.c b/gdb/i386aix-nat.c
index 6bf3d69..20e656e 100644
--- a/gdb/i386aix-nat.c
+++ b/gdb/i386aix-nat.c
@@ -43,7 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Does AIX define this in <errno.h>? */
extern int errno;
-#ifndef NO_SYS_REG_H
+#ifdef HAVE_SYS_REG_H
#include <sys/reg.h>
#endif