32 lines
520 B
Plaintext
32 lines
520 B
Plaintext
Index: conf/configure.in.nse
|
|
--- conf/configure.in.nse.orig
|
|
+++ conf/configure.in.nse
|
|
@@ -79,13 +79,10 @@ AC_TRY_COMPILE([
|
|
#include <stdio.h>
|
|
#include <netinet/tcp.h>
|
|
], [
|
|
-int main()
|
|
-{
|
|
struct tcphdr *tcp;
|
|
tcp->source= 1;
|
|
|
|
return 0;
|
|
-}
|
|
], [
|
|
V_DEFINE="$V_DEFINE -DLINUX_TCP_HEADER"
|
|
AC_MSG_RESULT(found)
|
|
@@ -102,13 +99,10 @@ AC_TRY_COMPILE([
|
|
#include <stdio.h>
|
|
#include <netinet/tcp.h>
|
|
], [
|
|
-int main()
|
|
-{
|
|
struct tcphdr *tcp;
|
|
tcp->th_sport= 1;
|
|
|
|
return 0;
|
|
-}
|
|
], [
|
|
AC_MSG_RESULT(found)
|
|
tcphdr=yes
|