Mercurial > emacs
diff src/s/gnu.h @ 9985:0a58678f81c6
[NOT_C_CODE]: Include fcntl.h.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Wed, 16 Nov 1994 20:32:40 +0000 |
parents | 486fd2f809f5 |
children | 4333dc5a142f |
line wrap: on
line diff
--- 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 <fcntl.h> +#endif