summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hints/cygwin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/cygwin.sh b/hints/cygwin.sh
index 21997dba74..20e0e58821 100644
--- a/hints/cygwin.sh
+++ b/hints/cygwin.sh
@@ -31,7 +31,7 @@ test -z "$optimize" && optimize='-O3'
man3ext='3pm'
test -z "$use64bitint" && use64bitint='define'
test -z "$useithreads" && useithreads='define'
-ccflags="$ccflags -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__"
+ccflags="$ccflags -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE"
# - otherwise i686-cygwin
archname='cygwin'