1
0
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:
dmiller
2016-09-06 18:14:57 +00:00
parent 85e6ebc64e
commit bace81fa5c
4 changed files with 5 additions and 2 deletions

2
configure vendored
View File

@@ -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"

View File

@@ -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.

View File

@@ -159,6 +159,8 @@
#undef HAVE_MEMCPY
#undef HAVE_STRERROR
#undef HAVE_STDINT_H
#undef HAVE_SYS_PARAM_H
#undef HAVE_SYS_SOCKIO_H

View File

@@ -4,6 +4,7 @@
class Port;
class Target;
#include "nmap_config.h"
#if HAVE_STDINT_H
#include <stdint.h>
#endif