From f381c27c548aa28b003c8e188f5d627ab4105f76 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Wed, 9 Jul 2014 15:09:32 +0100 Subject: [PATCH] configure: Cygwin requires _XOPEN_SOURCE >= 700 to prototype strndup() Adjust definition of _XOPEN_SOURCE appropriately for use of strndup() added with commit da3a47d6 Signed-off-by: Jon TURNEY --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0d4e26d3527..48f5f815ef4 100644 --- a/configure.ac +++ b/configure.ac @@ -159,7 +159,7 @@ solaris*) DEFINES="$DEFINES -DHAVE_PTHREAD -DSVR4" ;; cygwin*) - DEFINES="$DEFINES -D_XOPEN_SOURCE=500 -DHAVE_PTHREAD" + DEFINES="$DEFINES -D_XOPEN_SOURCE=700 -DHAVE_PTHREAD" ;; esac -- 2.30.2