aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 95ea8cea0d..94dd796c98 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -98,8 +98,9 @@ check_function_exists("sysconf" HAVE_SYSCONF)
#Struct members
include(CheckStructHasMember)
-check_struct_has_member("struct stat" st_flags sys/stat.h HAVE_ST_FLAGS)
-check_struct_has_member("struct tm" tm_zone time.h HAVE_TM_ZONE)
+check_struct_has_member("struct sockaddr" sa_len sys/socket.h HAVE_SA_LEN)
+check_struct_has_member("struct stat" st_flags sys/stat.h HAVE_ST_FLAGS)
+check_struct_has_member("struct tm" tm_zone time.h HAVE_TM_ZONE)
#Symbols but NOT enums or types
include(CheckSymbolExists)