aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@cygnus>1992-02-11 00:01:35 +0000
committerSean Eric Fagan <sef@cygnus>1992-02-11 00:01:35 +0000
commit5e4d4b0f3202e980035612e42fa2b242554a2ac6 (patch)
tree95141066ba1c0c5a9e4b6f1717d109fe45124ce0 /gdb/xcoffread.c
parentb159ce3f16dcd5f9787383c1fb2d5b095ed9a1f8 (diff)
downloadgdb-5e4d4b0f3202e980035612e42fa2b242554a2ac6.zip
gdb-5e4d4b0f3202e980035612e42fa2b242554a2ac6.tar.gz
gdb-5e4d4b0f3202e980035612e42fa2b242554a2ac6.tar.bz2
all: Don't include <sys/file.h> if NO_SYS_FILE is defined. On the Apollo,
this file does not exist, and not including it hasn't seemed to cause problems. main.c: Use the proper enum's in the options structure initialization; the Apollo compiler chokes on this.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 43de5db..d336ac4 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -32,7 +32,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "obstack.h"
#include <sys/param.h>
+#ifndef NO_SYS_FILE
#include <sys/file.h>
+#endif
#include <sys/stat.h>
#include "symtab.h"