summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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')