Module Name: src
Committed By: ozaki-r
Date: Mon May 14 02:16:30 UTC 2018
Modified Files:
src/sys/netipsec: xform_tcp.c
Log Message:
Restore TCP header inclusions for TCP_SIGNATURE
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/netipsec/xform_tcp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netipsec/xform_tcp.c
diff -u src/sys/netipsec/xform_tcp.c:1.20 src/sys/netipsec/xform_tcp.c:1.21
--- src/sys/netipsec/xform_tcp.c:1.20 Fri May 11 13:50:38 2018
+++ src/sys/netipsec/xform_tcp.c Mon May 14 02:16:29 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: xform_tcp.c,v 1.20 2018/05/11 13:50:38 maxv Exp $ */
+/* $NetBSD: xform_tcp.c,v 1.21 2018/05/14 02:16:29 ozaki-r Exp $ */
/* $FreeBSD: xform_tcp.c,v 1.1.2.1 2004/02/14 22:24:09 bms Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_tcp.c,v 1.20 2018/05/11 13:50:38 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_tcp.c,v 1.21 2018/05/14 02:16:29 ozaki-r Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -49,6 +49,11 @@ __KERNEL_RCSID(0, "$NetBSD: xform_tcp.c,
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip_var.h>
+#ifdef TCP_SIGNATURE
+#include <netinet/tcp_timer.h>
+#include <netinet/tcp.h>
+#include <netinet/tcp_var.h>
+#endif
#include <netipsec/ipsec.h>
#include <netipsec/xform.h>