Source-Changes-HG archive

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

[src/trunk]: src/sys/net/npf make this compile as a module.



details:   https://anonhg.NetBSD.org/src/rev/57a8bc286e1b
branches:  trunk
changeset: 350055:57a8bc286e1b
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 02 23:02:04 2017 +0000

description:
make this compile as a module.

diffstat:

 sys/net/npf/npf_os.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r f6ae1ad45bdb -r 57a8bc286e1b sys/net/npf/npf_os.c
--- a/sys/net/npf/npf_os.c      Mon Jan 02 23:00:25 2017 +0000
+++ b/sys/net/npf/npf_os.c      Mon Jan 02 23:02:04 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_os.c,v 1.3 2017/01/02 21:49:51 rmind Exp $ */
+/*     $NetBSD: npf_os.c,v 1.4 2017/01/02 23:02:04 christos Exp $      */
 
 /*-
  * Copyright (c) 2009-2016 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #ifdef _KERNEL
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.3 2017/01/02 21:49:51 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_os.c,v 1.4 2017/01/02 23:02:04 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "pf.h"
@@ -54,6 +54,9 @@
 #include <sys/module.h>
 #include <sys/socketvar.h>
 #include <sys/uio.h>
+
+#include <netinet/in.h>
+#include <netinet6/in6_var.h>
 #endif
 
 #include "npf_impl.h"



Home | Main Index | Thread Index | Old Index