From 79e50e4f3268125359fd14120aff0ed1fcfb20f7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 16 Nov 1994 20:32:40 +0000 Subject: [PATCH] [NOT_C_CODE]: Include fcntl.h. --- src/s/gnu.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/s/gnu.h b/src/s/gnu.h index 6b283137512..b5071fa1692 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h @@ -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 +#endif -- 2.39.5