diff options
| -rw-r--r-- | ConfigureChecks.cmake | 2 | ||||
| -rw-r--r-- | config.h.cmake | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 995f8ce..587a88f 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -82,7 +82,7 @@ endif (UNIX) set(SWRAP_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "socket_wrapper required system libraries") # STRUCT MEMBERS -check_struct_has_member("struct sockaddr" sa_len "sys/socket.h netinet/in.h" HAVE_STRUCT_SOCKADDR_SA_LEN) +check_struct_has_member("struct sockaddr" sa_len "sys/types.h;sys/socket.h;netinet/in.h" HAVE_STRUCT_SOCKADDR_SA_LEN) # PROTOTYPES check_prototype_definition(gettimeofday diff --git a/config.h.cmake b/config.h.cmake index 4f912bd..badd5d2 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -16,6 +16,9 @@ #cmakedefine HAVE_SYS_FILIO_H 1 +/************************ STRUCT MEMBERS *************************/ + +#cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1 /*************************** FUNCTIONS ***************************/ @@ -30,6 +33,7 @@ #cmakedefine HAVE_GETTIMEOFDAY_TZ_VOID 1 /*************************** DATA TYPES***************************/ + #cmakedefine SIZEOF_PID_T @SIZEOF_PID_T@ /**************************** OPTIONS ****************************/ |
