# HG changeset patch # User Roland McGrath # Date 785017960 0 # Node ID 0a58678f81c64e4aed4f5f08fdc493d82b76fd10 # Parent 8f17a2e2b777cd80874a60efc2445000a701ee15 [NOT_C_CODE]: Include fcntl.h. diff -r 8f17a2e2b777 -r 0a58678f81c6 src/s/gnu.h --- 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 +#endif