changeset 9985:0a58678f81c6

[NOT_C_CODE]: Include fcntl.h.
author Roland McGrath <roland@gnu.org>
date Wed, 16 Nov 1994 20:32:40 +0000
parents 8f17a2e2b777
children df605fcd1e75
files src/s/gnu.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/gnu.h	Wed Nov 16 20:30:12 1994 +0000
+++ b/src/s/gnu.h	Wed Nov 16 20:32:40 1994 +0000
@@ -73,3 +73,9 @@
 
 /* Until we finish the network.  */
 #undef HAVE_SOCKETS
+
+/* Some losing code fails to include this and then assumes
+   that because it is braindead that O_RDONLY==0.  */
+#ifndef NOT_C_CODE
+#include <fcntl.h>
+#endif