diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-01-08 23:03:50 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-01-08 23:03:50 +0200 |
commit | 0cc0973babcc4c35557aade37be5926a3f6023c9 (patch) | |
tree | f4ae9f5f06a2b4483d6a7bb4ae3eb3e2c92ce98b /awk.h | |
parent | a56b8c1a4b2495833fedd37b83305f5388cd2c2e (diff) | |
download | egawk-0cc0973babcc4c35557aade37be5926a3f6023c9.tar.gz egawk-0cc0973babcc4c35557aade37be5926a3f6023c9.tar.bz2 egawk-0cc0973babcc4c35557aade37be5926a3f6023c9.zip |
PC fiexes from Eli.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -49,6 +49,12 @@ #endif /* HAVE_LIMITS_H */ #include <ctype.h> #include <setjmp.h> +#ifdef HAVE_FCNTL_H +#include <fcntl.h> +#endif +#ifndef O_BINARY +#define O_BINARY 0 +#endif #include "gettext.h" #define _(msgid) gettext(msgid) @@ -147,10 +153,6 @@ typedef int off_t; #endif /* HAVE_STRINGS_H */ #endif /* not HAVE_STRING_H */ -#if ! defined(O_BINARY) -#define O_BINARY 0 -#endif - #if HAVE_UNISTD_H #include <unistd.h> #endif /* HAVE_UNISTD_H */ |