]> git.eshelyaron.com Git - emacs.git/commitdiff
[NOT_C_CODE]: Include fcntl.h.
authorRoland McGrath <roland@gnu.org>
Wed, 16 Nov 1994 20:32:40 +0000 (20:32 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Nov 1994 20:32:40 +0000 (20:32 +0000)
src/s/gnu.h

index 6b283137512784966262f2fe4aacba50729c1888..b5071fa169215d898b59371f11e8148d0d801059 100644 (file)
@@ -73,3 +73,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* 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