mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 12:19:02 +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
|
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 :
|
do :
|
||||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
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"
|
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ esac
|
|||||||
AC_SUBST(LUA_CFLAGS)
|
AC_SUBST(LUA_CFLAGS)
|
||||||
|
|
||||||
dnl Checks for header files.
|
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>])
|
AC_CHECK_HEADERS(linux/rtnetlink.h,,,[#include <netinet/in.h>])
|
||||||
dnl A special check required for <net/if.h> on Darwin. See
|
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.
|
dnl http://www.gnu.org/software/autoconf/manual/html_node/Header-Portability.html.
|
||||||
|
|||||||
@@ -159,6 +159,8 @@
|
|||||||
#undef HAVE_MEMCPY
|
#undef HAVE_MEMCPY
|
||||||
#undef HAVE_STRERROR
|
#undef HAVE_STRERROR
|
||||||
|
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
#undef HAVE_SYS_PARAM_H
|
#undef HAVE_SYS_PARAM_H
|
||||||
|
|
||||||
#undef HAVE_SYS_SOCKIO_H
|
#undef HAVE_SYS_SOCKIO_H
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
class Port;
|
class Port;
|
||||||
class Target;
|
class Target;
|
||||||
|
|
||||||
|
#include "nmap_config.h"
|
||||||
#if HAVE_STDINT_H
|
#if HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user