diff options
author | Roland McGrath <roland@gnu.org> | 1994-11-16 20:32:40 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-11-16 20:32:40 +0000 |
commit | 79e50e4f3268125359fd14120aff0ed1fcfb20f7 (patch) | |
tree | c1fc885405275da8bfb4e5735720ccfab8596926 /src/s/gnu.h | |
parent | 8a5900628148b8a038b3ef309b49deaa7b27d95c (diff) | |
download | emacs-79e50e4f3268125359fd14120aff0ed1fcfb20f7.tar.gz |
[NOT_C_CODE]: Include fcntl.h.
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 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 <fcntl.h> +#endif |