aboutsummaryrefslogtreecommitdiff
path: root/gdb/infttrace.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/infttrace.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/infttrace.c')
-rw-r--r--gdb/infttrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index eb79159..d62c4bd 100644
--- a/gdb/infttrace.c
+++ b/gdb/infttrace.c
@@ -119,7 +119,7 @@
#endif
#include "gdbcore.h"
-#ifndef NO_SYS_FILE
+#ifdef HAVE_SYS_FILE_H
#include <sys/file.h>
#endif