configure: define posix source on cygwin

Some function definitions are missing without it,
for example sigaction.

Fixes ticket #5868
This commit is contained in:
Timo Rothenpieler 2016-09-30 12:17:16 +02:00
parent 4fdcd2f188
commit b7bd5b9794

1
configure vendored
View File

@ -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"