aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-10-11 06:53:29 +0000
committerGuy Harris <guy@alum.mit.edu>2013-10-11 06:53:29 +0000
commit5db6b8ae2046bcabfd10bdd8e6197e6f96de18fd (patch)
tree013603194654612e5899ce0d96ccd6b48e5fc114 /ConfigureChecks.cmake
parent31794938144b2427164dfd289b36ef8179bbeedd (diff)
Check for sa_len in struct sockaddr.
svn path=/trunk/; revision=52534
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)