aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/template/cygwin3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/template/cygwin b/src/template/cygwin
index 79a108145ff..1e7274bc33a 100644
--- a/src/template/cygwin
+++ b/src/template/cygwin
@@ -2,6 +2,9 @@
SRCH_LIB="/usr/local/lib"
+# This is required for ppoll(2), and perhaps other things
+CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
+
# Extra CFLAGS for code that will go into a shared library
CFLAGS_SL=""