Include <fcntl.h>.
authorMichael Bushnell <mib@gnu.org>
Wed, 5 Oct 1994 01:49:05 +0000 (01:49 +0000)
committerMichael Bushnell <mib@gnu.org>
Wed, 5 Oct 1994 01:49:05 +0000 (01:49 +0000)
From-SVN: r8216

gcc/config/i386/gnu.h

index a4bb67a2e67e095a9766afa9f0b538044df4742d..a9790a62c84163fdcadedb3d4d37b3b138ed0aec 100644 (file)
@@ -15,3 +15,7 @@
 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
    we want to retain compatibility with older gcc versions.  */
 #define DEFAULT_PCC_STRUCT_RETURN 0
+
+/* Get a definition of O_RDONLY; some of the GCC files don't include this
+   properly and will define it themselves to be zero. */
+#include <fcntl.h>