summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2016-09-30 12:17:16 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2016-10-02 17:28:30 +0200
commitb7bd5b9794223f12203142159a22b176da2378e8 (patch)
tree3f2a33a98aaf5e850759593d7f69a8fdc07ff082 /configure
parent4fdcd2f1889a79155d5c182c836b9ba968b1eca9 (diff)
configure: define posix source on cygwin
Some function definitions are missing without it, for example sigaction. Fixes ticket #5868
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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"