diff options
Diffstat (limited to 'src/s/gnu.h')
-rw-r--r-- | src/s/gnu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h index 6b28313751..b5071fa169 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 <fcntl.h> +#endif |