Check for sa_len in struct sockaddr.

svn path=/trunk/; revision=52534
This commit is contained in:
Guy Harris 2013-10-11 06:53:29 +00:00
parent 3179493814
commit 5db6b8ae20
1 changed files with 3 additions and 2 deletions

View File

@ -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)