From 61f0aecf884538c39e0a1bd79f00e9835fd77a35 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 19 Mar 2020 13:46:59 +0100 Subject: configure: define _DEFAULT_SOURCE Necessary for SO_PASSCRED. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 50a52cf4..81fde581 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3