OSDN Git Service

Include <fcntl.h>.
authormib <mib@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 1994 01:49:05 +0000 (01:49 +0000)
committermib <mib@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 1994 01:49:05 +0000 (01:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8216 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/gnu.h

index a4bb67a..a9790a6 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>