Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Fix compilation of PF/IPF...



details:   https://anonhg.NetBSD.org/src/rev/73950373c5e6
branches:  trunk
changeset: 991969:73950373c5e6
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Aug 10 07:16:13 2018 +0000

description:
Fix compilation of PF/IPF...

diffstat:

 sys/dist/pf/net/pf_ioctl.c                   |  5 +++--
 sys/external/bsd/ipf/netinet/ip_fil_netbsd.c |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r 2dd8ce1d170d -r 73950373c5e6 sys/dist/pf/net/pf_ioctl.c
--- a/sys/dist/pf/net/pf_ioctl.c        Fri Aug 10 06:55:04 2018 +0000
+++ b/sys/dist/pf/net/pf_ioctl.c        Fri Aug 10 07:16:13 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pf_ioctl.c,v 1.55 2018/08/10 06:46:08 maxv Exp $       */
+/*     $NetBSD: pf_ioctl.c,v 1.56 2018/08/10 07:16:13 maxv Exp $       */
 /*     $OpenBSD: pf_ioctl.c,v 1.182 2007/06/24 11:17:13 mcbride Exp $ */
 
 /*
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pf_ioctl.c,v 1.55 2018/08/10 06:46:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pf_ioctl.c,v 1.56 2018/08/10 07:16:13 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -100,6 +100,7 @@
 #ifdef INET6
 #include <netinet/ip6.h>
 #include <netinet/in_pcb.h>
+#include <netinet6/in6_offload.h>
 #endif /* INET6 */
 
 #ifdef ALTQ
diff -r 2dd8ce1d170d -r 73950373c5e6 sys/external/bsd/ipf/netinet/ip_fil_netbsd.c
--- a/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c      Fri Aug 10 06:55:04 2018 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c      Fri Aug 10 07:16:13 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_fil_netbsd.c,v 1.30 2018/08/10 06:46:08 maxv Exp $  */
+/*     $NetBSD: ip_fil_netbsd.c,v 1.31 2018/08/10 07:16:13 maxv Exp $  */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -8,7 +8,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_fil_netbsd.c,v 1.30 2018/08/10 06:46:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_fil_netbsd.c,v 1.31 2018/08/10 07:16:13 maxv Exp $");
 #else
 static const char sccsid[] = "@(#)ip_fil.c     2.41 6/5/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_fil_netbsd.c,v 1.1.1.2 2012/07/22 13:45:17 darrenr Exp";
@@ -83,6 +83,7 @@
 # endif
 # if __NetBSD_Version__ >= 499001100
 #  include <netinet6/scope6_var.h>
+#  include <netinet6/in6_offload.h>
 # endif
 #endif
 #include "netinet/ip_fil.h"



Home | Main Index | Thread Index | Old Index