diff options
author | Sean Eric Fagan <sef@cygnus> | 1992-02-11 00:01:35 +0000 |
---|---|---|
committer | Sean Eric Fagan <sef@cygnus> | 1992-02-11 00:01:35 +0000 |
commit | 5e4d4b0f3202e980035612e42fa2b242554a2ac6 (patch) | |
tree | 95141066ba1c0c5a9e4b6f1717d109fe45124ce0 | |
parent | b159ce3f16dcd5f9787383c1fb2d5b095ed9a1f8 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/xcoffread.c | 2 |
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" |