diff options
| -rw-r--r-- | ConfigureChecks.cmake | 1 | ||||
| -rw-r--r-- | config.h.cmake | 1 |
2 files changed, 2 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 diff --git a/config.h.cmake b/config.h.cmake index badd5d2..63bbdb4 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -19,6 +19,7 @@ /************************ STRUCT MEMBERS *************************/ #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1 +#cmakedefine HAVE_STRUCT_MSGHDR_MSG_CONTROL 1 /*************************** FUNCTIONS ***************************/ |
