all: Don't include <sys/file.h> if NO_SYS_FILE is defined. On the Apollo,
authorSean Eric Fagan <sef@cygnus>
Tue, 11 Feb 1992 00:01:35 +0000 (00:01 +0000)
committerSean Eric Fagan <sef@cygnus>
Tue, 11 Feb 1992 00:01:35 +0000 (00:01 +0000)
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.

gdb/xcoffread.c

index 43de5dbc1e44a2f5f85096ab6a213ae1ff619613..d336ac4af7bdf7a70a92d0d206d755f6a176789d 100644 (file)
@@ -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"