diff --git a/configure b/configure index 5677bbe3a..6bd1ab6a5 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.ac b/configure.ac index 8391fa4d9..d9ffe3d4f 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ]) dnl A special check required for on Darwin. See dnl http://www.gnu.org/software/autoconf/manual/html_node/Header-Portability.html. diff --git a/nmap_config.h.in b/nmap_config.h.in index 094532daa..7777f0783 100644 --- a/nmap_config.h.in +++ b/nmap_config.h.in @@ -159,6 +159,8 @@ #undef HAVE_MEMCPY #undef HAVE_STRERROR +#undef HAVE_STDINT_H + #undef HAVE_SYS_PARAM_H #undef HAVE_SYS_SOCKIO_H diff --git a/nse_utility.h b/nse_utility.h index b4fdb5d72..13e33505c 100644 --- a/nse_utility.h +++ b/nse_utility.h @@ -4,6 +4,7 @@ class Port; class Target; +#include "nmap_config.h" #if HAVE_STDINT_H #include #endif