mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Add check for stdint.h needed by nse_utility.h
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -5310,7 +5310,7 @@ fi
|
||||
done
|
||||
|
||||
|
||||
for ac_header in pwd.h termios.h sys/sockio.h
|
||||
for ac_header in pwd.h termios.h sys/sockio.h stdint.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
|
||||
@@ -197,7 +197,7 @@ esac
|
||||
AC_SUBST(LUA_CFLAGS)
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_CHECK_HEADERS(pwd.h termios.h sys/sockio.h)
|
||||
AC_CHECK_HEADERS(pwd.h termios.h sys/sockio.h stdint.h)
|
||||
AC_CHECK_HEADERS(linux/rtnetlink.h,,,[#include <netinet/in.h>])
|
||||
dnl A special check required for <net/if.h> on Darwin. See
|
||||
dnl http://www.gnu.org/software/autoconf/manual/html_node/Header-Portability.html.
|
||||
|
||||
@@ -159,6 +159,8 @@
|
||||
#undef HAVE_MEMCPY
|
||||
#undef HAVE_STRERROR
|
||||
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
#undef HAVE_SYS_PARAM_H
|
||||
|
||||
#undef HAVE_SYS_SOCKIO_H
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
class Port;
|
||||
class Target;
|
||||
|
||||
#include "nmap_config.h"
|
||||
#if HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user