From 0cc0973babcc4c35557aade37be5926a3f6023c9 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sat, 8 Jan 2011 23:03:50 +0200 Subject: PC fiexes from Eli. --- awk.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'awk.h') diff --git a/awk.h b/awk.h index ad632e66..8ac94e5b 100644 --- a/awk.h +++ b/awk.h @@ -49,6 +49,12 @@ #endif /* HAVE_LIMITS_H */ #include #include +#ifdef HAVE_FCNTL_H +#include +#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 #endif /* HAVE_UNISTD_H */ -- cgit v1.2.3