summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-01-21 09:27:03 +0100
committerAndreas Schneider <asn@samba.org>2014-01-21 09:27:03 +0100
commitff36996f62e7dc9e713ceab823d7d19d8cd396a8 (patch)
tree3ccae7c2a76b0d0b7a0a44f7407fffaf809c99cd /ConfigureChecks.cmake
parent803820ffe778be5af68957bc46532e7c50243c9f (diff)
downloadsocket_wrapper-ff36996f62e7dc9e713ceab823d7d19d8cd396a8.tar.gz
socket_wrapper-ff36996f62e7dc9e713ceab823d7d19d8cd396a8.tar.xz
socket_wrapper-ff36996f62e7dc9e713ceab823d7d19d8cd396a8.zip
cmake: Check for HAVE_STRUCT_MSGHDR_MSG_CONTROL.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 587a88f..2d8e690 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -83,6 +83,7 @@ set(SWRAP_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "socket_
# STRUCT MEMBERS
check_struct_has_member("struct sockaddr" sa_len "sys/types.h;sys/socket.h;netinet/in.h" HAVE_STRUCT_SOCKADDR_SA_LEN)
+check_struct_has_member("struct msghdr" msg_control "sys/types.h;sys/socket.h" HAVE_STRUCT_MSGHDR_MSG_CONTROL)
# PROTOTYPES
check_prototype_definition(gettimeofday