From 014c8736e5d369dbeb5177d1f14d6d0328f4129f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Mar 2010 12:20:11 +1100 Subject: build: socklen_t is in sys/socket.h --- lib/replace/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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') -- cgit