diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-03-19 13:46:59 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-03-19 13:48:47 +0100 |
commit | 61f0aecf884538c39e0a1bd79f00e9835fd77a35 (patch) | |
tree | 279d916ddbb21c7d5429cf8c3b731f6ede9b7c6e | |
parent | 3d9372b791949edb058317161c32f614615e22cf (diff) |
configure: define _DEFAULT_SOURCE
Necessary for SO_PASSCRED.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2288,7 +2288,7 @@ if check_cpp_condition features.h "defined __UCLIBC__"; then add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 elif check_cpp_condition features.h "defined __GLIBC__"; then libc_type=glibc - add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 + add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE # MinGW headers can be installed on Cygwin, so check for newlib first. elif check_cpp_condition newlib.h "defined _NEWLIB_VERSION"; then libc_type=newlib |