summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 3a31f50..44914f0 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -60,6 +60,10 @@ check_function_exists(snprintf HAVE_SNPRINTF)
check_function_exists(signalfd HAVE_SIGNALFD)
check_function_exists(eventfd HAVE_EVENTFD)
check_function_exists(timerfd_create HAVE_TIMERFD_CREATE)
+set(CMAKE_REQUIRED_FLAGS -D_GNU_SOURCE)
+check_function_exists(bindresvport HAVE_BINDRESVPORT)
+set(CMAKE_REQUIRED_FLAGS)
+
if (UNIX)
if (NOT LINUX)