aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/gnu.h')
-rw-r--r--src/s/gnu.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/s/gnu.h b/src/s/gnu.h
index a8e2c4cdbb8..8410ad666f5 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -24,10 +24,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
24/* libc defines data_start. */ 24/* libc defines data_start. */
25#define DATA_START ({ extern int data_start; (char *) &data_start; }) 25#define DATA_START ({ extern int data_start; (char *) &data_start; })
26 26
27/* Some losing code fails to include this and then assumes 27/* It would be harmless to drop the ifdef emacs test. */
28 that because it is braindead that O_RDONLY==0. */
29#include <fcntl.h>
30
31#ifdef emacs 28#ifdef emacs
32#include <stdio.h> /* Get the definition of _IO_STDIO_H. */ 29#include <stdio.h> /* Get the definition of _IO_STDIO_H. */
33#if defined (_IO_STDIO_H) || defined (_STDIO_USES_IOSTREAM) 30#if defined (_IO_STDIO_H) || defined (_STDIO_USES_IOSTREAM)