mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Check for sys/sockio.h in configure and include sys/sockio.h in tcpip.cc. This is where SIOCGIFCONF is on Solaris 9.
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -3735,7 +3735,8 @@ done
|
||||
|
||||
|
||||
|
||||
for ac_header in pwd.h termios.h
|
||||
|
||||
for ac_header in pwd.h termios.h sys/sockio.h
|
||||
do
|
||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
||||
|
||||
@@ -166,7 +166,7 @@ esac
|
||||
AC_SUBST(LUAFLAGS)
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_CHECK_HEADERS(pwd.h termios.h)
|
||||
AC_CHECK_HEADERS(pwd.h termios.h sys/sockio.h)
|
||||
|
||||
dnl If any socket libraries needed
|
||||
AC_SEARCH_LIBS(setsockopt, socket)
|
||||
|
||||
Reference in New Issue
Block a user