34 lines
598 B
Plaintext
34 lines
598 B
Plaintext
$OpenBSD: patch-conf_configure_in_nse,v 1.1 2017/09/27 10:35:22 dcoppa Exp $
|
|
|
|
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
|