diff --git a/lib/replace/wscript b/lib/replace/wscript index 2808db2e518..4c774d9f0c3 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -473,7 +473,7 @@ def configure(conf): execute = True, define = 'HAVE_BSD_STRTOLL', ) - conf.CHECK_FUNCS('if_nametoindex strerror_r') + conf.CHECK_FUNCS('if_nameindex if_nametoindex strerror_r') conf.CHECK_FUNCS('syslog') conf.CHECK_FUNCS('gai_strerror get_current_dir_name') conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups syscall setsid')