From: Rivo Nurges Date: Wed, 17 Feb 2010 20:59:34 +0000 (+0100) Subject: Look for inet_aton and inet_addr in more header files X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8d0c95a0211c745bd63d0224656e9af14cc8f51;p=midori Look for inet_aton and inet_addr in more header files This is needed for BSD like systems. --- diff --git a/wscript b/wscript index 461baa0c..fbbdbb06 100644 --- a/wscript +++ b/wscript @@ -257,8 +257,8 @@ def configure (conf): conf.define ('HAVE_NETDB_H', [0,1][conf.check (header_name='netdb.h')]) conf.check (header_name='sys/wait.h') conf.check (header_name='sys/select.h') - conf.check (function_name='inet_aton') - conf.check (function_name='inet_addr') + conf.check (function_name='inet_aton', header_name='sys/types.h sys/socket.h netinet/in.h arpa/inet.h') + conf.check (function_name='inet_addr', header_name='sys/types.h sys/socket.h netinet/in.h arpa/inet.h') conf.define ('HAVE_OSX', int(sys.platform == 'darwin')) if Options.platform == 'win32': conf.env.append_value ('LINKFLAGS', '-mwindows')