From: Roland McGrath Date: Wed, 16 Nov 1994 20:32:40 +0000 (+0000) Subject: [NOT_C_CODE]: Include fcntl.h. X-Git-Tag: emacs-19.34~5870 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79e50e4f3268125359fd14120aff0ed1fcfb20f7;p=emacs.git [NOT_C_CODE]: Include fcntl.h. --- 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