aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-06 20:47:25 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-06 20:47:25 +0000
commitc0ccb908a0d28944b8715c2d229ee55e8cdace59 (patch)
tree9de7d72e4a3587d6d5d05830b804d82fdd411081 /gdb/xcoffread.c
parentb9e1c0d643d9bf37ae9d91f57de5efdda204c803 (diff)
downloadgdb-c0ccb908a0d28944b8715c2d229ee55e8cdace59.zip
gdb-c0ccb908a0d28944b8715c2d229ee55e8cdace59.tar.gz
gdb-c0ccb908a0d28944b8715c2d229ee55e8cdace59.tar.bz2
* infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of
!NO_SYS_FILE. [KERNEL_U_ADDR_BSD]: Don't include <a.out.h>. [KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable. (_initialize_kernel_u_addr): Remove prototype and function. * infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of !NO_SYS_FILE. * xcoffread.c: Likewise.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 759dfcb..645bd4d 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -31,7 +31,7 @@
#include "gdb_string.h"
#include <sys/param.h>
-#ifndef NO_SYS_FILE
+#ifdef HAVE_SYS_FILE_H
#include <sys/file.h>
#endif
#include "gdb_stat.h"