diff --git a/configure b/configure index 8f2ede6f3..d5c9ff67e 100755 --- a/configure +++ b/configure @@ -4813,10 +4813,6 @@ _ACEOF #define LINUX 1 _ACEOF - cat >>confdefs.h <<\_ACEOF -#define PCAP_TIMEOUT_IGNORED 1 -_ACEOF - # libpcap doesn't even LOOK at the timeout you give it under Linux LDFLAGS="-Wl,-E $LDFLAGS" # needed for nse-C-module support ;; *-apple-darwin*) diff --git a/configure.ac b/configure.ac index 7582c0be2..231a5089c 100644 --- a/configure.ac +++ b/configure.ac @@ -177,7 +177,6 @@ case "$host" in ;; *-linux*) AC_DEFINE(LINUX) - AC_DEFINE(PCAP_TIMEOUT_IGNORED) # libpcap doesn't even LOOK at the timeout you give it under Linux LDFLAGS="-Wl,-E $LDFLAGS" # needed for nse-C-module support ;; *-apple-darwin*) diff --git a/nmap_config.h.in b/nmap_config.h.in index 4e57c5f55..fa47ebccd 100644 --- a/nmap_config.h.in +++ b/nmap_config.h.in @@ -93,8 +93,6 @@ #ifndef CONFIG_H #define CONFIG_H -#undef PCAP_TIMEOUT_IGNORED - #undef HAVE_STRUCT_IP #undef HAVE_NANOSLEEP