summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--stream.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ebf4264e..c3c7cba4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-08-07 Kaz Kylheku <kaz@kylheku.com>
+ * stream.c: Include <wctype.h> header for iswprint.
+ Needed on Cygwin.
+
+2015-08-07 Kaz Kylheku <kaz@kylheku.com>
+
* sysif.c (w_lstat): If we don't have S_IFLINK, implement
w_lstat as an alias to w_stat. This helps build on MinGW.
diff --git a/stream.c b/stream.c
index a5bf5909..cf5e2e8e 100644
--- a/stream.c
+++ b/stream.c
@@ -33,6 +33,7 @@
#include <errno.h>
#include <ctype.h>
#include <wchar.h>
+#include <wctype.h>
#include <signal.h>
#include "config.h"
#if HAVE_UNISTD_H