Include <sys/sockio.h> in libnetutil/netutil.cc. This is necessary to

compile on OpenSolaris according to
http://blogs.sun.com/sdaven/entry/nmap_5_35dc1_compile_on.
This commit is contained in:
david 2010-07-26 22:19:23 +00:00
parent 578a26e552
commit 8a5d27fae8

View file

@ -106,6 +106,9 @@
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#if HAVE_SYS_SOCKIO_H
#include <sys/sockio.h> /* SIOCGIFCONF for Solaris */
#endif
#include <net/if_arp.h>
#if HAVE_NETINET_IN_H