summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/atm/ng_atm.c3
-rw-r--r--sys/netgraph/ng_ether.c3
-rw-r--r--sys/netgraph/ng_gif.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/sys/netgraph/atm/ng_atm.c b/sys/netgraph/atm/ng_atm.c
index e5e1e2e..88c8cf0 100644
--- a/sys/netgraph/atm/ng_atm.c
+++ b/sys/netgraph/atm/ng_atm.c
@@ -34,6 +34,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include "opt_route.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -54,6 +56,7 @@ __FBSDID("$FreeBSD$");
#include <net/if_var.h>
#include <net/if_media.h>
#include <net/if_atm.h>
+#include <net/route.h>
#include <net/vnet.h>
#include <netgraph/ng_message.h>
diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c
index c03befc..aaf4372 100644
--- a/sys/netgraph/ng_ether.c
+++ b/sys/netgraph/ng_ether.c
@@ -46,6 +46,8 @@
* ng_ether(4) netgraph node type
*/
+#include "opt_route.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -63,6 +65,7 @@
#include <net/if_var.h>
#include <net/ethernet.h>
#include <net/if_bridgevar.h>
+#include <net/route.h>
#include <net/vnet.h>
#include <netgraph/ng_message.h>
diff --git a/sys/netgraph/ng_gif.c b/sys/netgraph/ng_gif.c
index 9a2d3b9..5b59fed 100644
--- a/sys/netgraph/ng_gif.c
+++ b/sys/netgraph/ng_gif.c
@@ -68,6 +68,7 @@
/*
* ng_gif(4) netgraph node type
*/
+#include "opt_route.h"
#include <sys/param.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud