Source-Changes-HG archive

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

[src/trunk]: src/sys Need opt_inet.h for #ifdef INET, INET6.



details:   https://anonhg.NetBSD.org/src/rev/5a630f8087b1
branches:  trunk
changeset: 1007939:5a630f8087b1
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Mar 05 07:46:36 2020 +0000

description:
Need opt_inet.h for #ifdef INET, INET6.

diffstat:

 sys/altq/altq_flowvalve.h |  6 +++++-
 sys/dist/pf/net/pfvar.h   |  6 +++++-
 sys/net/slcompress.h      |  6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

diffs (60 lines):

diff -r d8370afe1fde -r 5a630f8087b1 sys/altq/altq_flowvalve.h
--- a/sys/altq/altq_flowvalve.h Thu Mar 05 02:14:52 2020 +0000
+++ b/sys/altq/altq_flowvalve.h Thu Mar 05 07:46:36 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: altq_flowvalve.h,v 1.3 2006/10/12 19:59:08 peter Exp $ */
+/*     $NetBSD: altq_flowvalve.h,v 1.4 2020/03/05 07:46:36 riastradh Exp $     */
 /*     $KAME: altq_flowvalve.h,v 1.5 2002/04/03 05:38:50 kjc Exp $     */
 
 /*
@@ -32,6 +32,10 @@
 
 #ifdef _KERNEL
 
+#ifdef _KERNEL_OPT
+#include "opt_inet.h"
+#endif
+
 /* fv_flow structure to define a unique address pair */
 struct fv_flow {
        int flow_af;            /* address family */
diff -r d8370afe1fde -r 5a630f8087b1 sys/dist/pf/net/pfvar.h
--- a/sys/dist/pf/net/pfvar.h   Thu Mar 05 02:14:52 2020 +0000
+++ b/sys/dist/pf/net/pfvar.h   Thu Mar 05 07:46:36 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfvar.h,v 1.22 2014/06/05 23:48:16 rmind Exp $ */
+/*     $NetBSD: pfvar.h,v 1.23 2020/03/05 07:46:36 riastradh Exp $     */
 /*     $OpenBSD: pfvar.h,v 1.254 2007/07/13 09:17:48 markus Exp $ */
 
 /*
@@ -34,6 +34,10 @@
 #ifndef _NET_PFVAR_H_
 #define _NET_PFVAR_H_
 
+#ifdef _KERNEL_OPT
+#include "opt_inet.h"
+#endif
+
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/queue.h>
diff -r d8370afe1fde -r 5a630f8087b1 sys/net/slcompress.h
--- a/sys/net/slcompress.h      Thu Mar 05 02:14:52 2020 +0000
+++ b/sys/net/slcompress.h      Thu Mar 05 07:46:36 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: slcompress.h,v 1.19 2016/12/12 15:58:45 maya Exp $     */
+/*     $NetBSD: slcompress.h,v 1.20 2020/03/05 07:46:36 riastradh Exp $        */
 /*     Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp   */
 
 /*
@@ -42,6 +42,10 @@
 #ifndef _NET_SLCOMPRESS_H_
 #define _NET_SLCOMPRESS_H_
 
+#ifdef _KERNEL_OPT
+#include "opt_inet.h"
+#endif
+
 #define MAX_STATES 16          /* must be > 2 and < 256 */
 #define MAX_HDR MLEN           /* XXX 4bsd-ism: should really be 128 */
 



Home | Main Index | Thread Index | Old Index