summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-05-03 14:43:21 +0200
committerAndreas Schneider <asn@samba.org>2016-05-03 15:36:06 +0200
commit09f3be725259c8ea9f51c84a96c4c03459ba72aa (patch)
tree439bc3c02276be40d7cc8a36b96b48fb3714fe26 /ConfigureChecks.cmake
parentfeb9ee05b08eebbac21bab8ad9dd00beb96d4981 (diff)
downloadsocket_wrapper-09f3be725259c8ea9f51c84a96c4c03459ba72aa.tar.gz
socket_wrapper-09f3be725259c8ea9f51c84a96c4c03459ba72aa.tar.xz
socket_wrapper-09f3be725259c8ea9f51c84a96c4c03459ba72aa.zip
swrap: Add support for running on OpenBSD
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 71e5056..5e96912 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -63,6 +63,8 @@ check_function_exists(eventfd HAVE_EVENTFD)
check_function_exists(timerfd_create HAVE_TIMERFD_CREATE)
check_function_exists(bindresvport HAVE_BINDRESVPORT)
+check_function_exists(pledge HAVE_PLEDGE)
+
if (UNIX)
if (NOT LINUX)