BSD has the file creation flags in a different include file.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 30 Jun 1987 19:26:56 +0000 (19:26 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 30 Jun 1987 19:26:56 +0000 (19:26 +0000)
v7/src/microcode/bchgcc.h

index 1d7d1b2aa8fda8210406ab0eb77b622e4de1a86e..98d3d7ad4185f288493a2240a9772e719cc37516 100644 (file)
@@ -30,10 +30,14 @@ Technology nor of any adaptation thereof in any advertising,
 promotional, or sales literature without prior written consent from
 MIT in each case. */
 
-/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bchgcc.h,v 9.28 1987/06/15 19:25:36 jinx Exp $ */
+/* $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/Attic/bchgcc.h,v 9.29 1987/06/30 19:26:56 jinx Rel $ */
 
 #include "gccode.h"
+#ifdef bsd
+#include <sys/file.h>
+#else
 #include <fcntl.h>
+#endif
 
 /* All of these are in objects (Pointer), not bytes. */