From b7bd5b9794223f12203142159a22b176da2378e8 Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler Date: Fri, 30 Sep 2016 12:17:16 +0200 Subject: [PATCH] configure: define posix source on cygwin Some function definitions are missing without it, for example sigaction. Fixes ticket #5868 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index df6ffa2d18..2b141fbf92 100755 --- a/configure +++ b/configure @@ -4802,6 +4802,7 @@ case $target_os in objformat="win32" enable dos_paths enabled shared && ! enabled small && check_cmd $windres --version && enable gnu_windres + add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 ;; *-dos|freedos|opendos) network_extralibs="-lsocket"