aboutsummaryrefslogtreecommitdiffstats
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/ChangeLog5
-rw-r--r--posix/gawkmisc.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/posix/ChangeLog b/posix/ChangeLog
index fdc034ac..eae49b37 100644
--- a/posix/ChangeLog
+++ b/posix/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 20 20:19:03 2011 Corinna Vinschen <vinschen@redhat.com>
+
+ * gawkmisc.c: Add include of <windows.h> for Cygwin to
+ remove a compiler warning.
+
Mon May 2 23:38:06 2011 Corinna Vinschen <vinschen@redhat.com>
* gawkmisc.c (cygwin_premain0): Use the real type for the secondnd
diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c
index f4bbf66b..acc3c9d5 100644
--- a/posix/gawkmisc.c
+++ b/posix/gawkmisc.c
@@ -19,6 +19,7 @@
#ifdef __CYGWIN__
#include <stdio.h>
+#include <windows.h>
#include <sys/cygwin.h>
#include <io.h>
#endif