aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Bushnell <mib@gnu.org>1994-10-05 01:49:05 +0000
committerMichael Bushnell <mib@gnu.org>1994-10-05 01:49:05 +0000
commit0c85e387f59ea6b88f831eb2986697f94790a51a (patch)
tree456b62e7c38bab82baa96a4f78c364e7bf2635c2 /gcc
parent41dfd40ca0582665a5b706a26fbd9b6d0397da76 (diff)
downloadgcc-0c85e387f59ea6b88f831eb2986697f94790a51a.zip
gcc-0c85e387f59ea6b88f831eb2986697f94790a51a.tar.gz
gcc-0c85e387f59ea6b88f831eb2986697f94790a51a.tar.bz2
Include <fcntl.h>.
From-SVN: r8216
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/gnu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h
index a4bb67a..a9790a6 100644
--- a/gcc/config/i386/gnu.h
+++ b/gcc/config/i386/gnu.h
@@ -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>