From d855fe4e896f6f981b6169fbb44734ae78c68706 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 10 Nov 2014 11:13:15 -0500 Subject: miniupnpc: bump the _POSIX_C_SOURCE feature macro FreeBSD doesn't expose IPv6 structures without this. --- external/miniupnpc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external/miniupnpc') diff --git a/external/miniupnpc/CMakeLists.txt b/external/miniupnpc/CMakeLists.txt index a278ee687..bed9a3d22 100644 --- a/external/miniupnpc/CMakeLists.txt +++ b/external/miniupnpc/CMakeLists.txt @@ -16,7 +16,7 @@ endif () if (NOT WIN32) add_definitions (-DMINIUPNPC_SET_SOCKET_TIMEOUT) - add_definitions (-D_BSD_SOURCE -D_POSIX_C_SOURCE=1) + add_definitions (-D_BSD_SOURCE -D_POSIX_C_SOURCE=201112) else () add_definitions (-D_WIN32_WINNT=0x0501) # XP or higher for getnameinfo and friends endif () -- cgit v1.2.3