summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-23 12:20:11 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:01 +1000
commit014c8736e5d369dbeb5177d1f14d6d0328f4129f (patch)
treee3a38af9ef2afdbb494ede7e189813a113c215d8 /lib/replace
parente2a9af0be4c8f17e42eb5606f2e204657cf807f5 (diff)
downloadsamba-014c8736e5d369dbeb5177d1f14d6d0328f4129f.tar.gz
samba-014c8736e5d369dbeb5177d1f14d6d0328f4129f.tar.bz2
samba-014c8736e5d369dbeb5177d1f14d6d0328f4129f.zip
build: socklen_t is in sys/socket.h
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 0879bac10b..b4ef65d28c 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -145,7 +145,7 @@ def configure(conf):
conf.define('SHLIBEXT', "so", quote=True)
conf.CHECK_TYPES('"long long" intptr_t uintptr_t ptrdiff_t')
- conf.CHECK_TYPES('comparison_fn_t socklen_t bool')
+ conf.CHECK_TYPES('comparison_fn_t bool')
conf.CHECK_TYPE('_Bool', define='HAVE__Bool')
conf.CHECK_TYPE('int8_t', 'char')
@@ -168,6 +168,7 @@ def configure(conf):
define='WORDS_BIGENDIAN')
+ conf.CHECK_TYPES('socklen_t', headers='sys/socket.h')
conf.CHECK_TYPE_IN('struct ifaddrs', 'ifaddrs.h')
conf.CHECK_TYPE_IN('struct addrinfo', 'netdb.h')
conf.CHECK_TYPE_IN('struct sockaddr', 'sys/socket.h')