summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/net
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/net')
-rw-r--r--cpukit/libnetworking/net/if_arp.h1
-rw-r--r--cpukit/libnetworking/net/if_ethersubr.c1
-rw-r--r--cpukit/libnetworking/net/rtsock.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/net/if_arp.h b/cpukit/libnetworking/net/if_arp.h
index 76546784b6..7fbd36fcbb 100644
--- a/cpukit/libnetworking/net/if_arp.h
+++ b/cpukit/libnetworking/net/if_arp.h
@@ -100,6 +100,7 @@ struct arpreq {
#define ATF_USETRAILERS 0x10 /* has requested trailers */
#ifdef _KERNEL
+#include <net/if_var.h>
/*
* Structure shared between the ethernet driver modules and
* the address resolution code. For example, each ec_softc or il_softc
diff --git a/cpukit/libnetworking/net/if_ethersubr.c b/cpukit/libnetworking/net/if_ethersubr.c
index 0b87632318..5771d1dc35 100644
--- a/cpukit/libnetworking/net/if_ethersubr.c
+++ b/cpukit/libnetworking/net/if_ethersubr.c
@@ -56,6 +56,7 @@
#include <sys/sysctl.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_arp.h>
#include <net/netisr.h>
#include <net/route.h>
diff --git a/cpukit/libnetworking/net/rtsock.c b/cpukit/libnetworking/net/rtsock.c
index 5a031221b1..d0d46b3a84 100644
--- a/cpukit/libnetworking/net/rtsock.c
+++ b/cpukit/libnetworking/net/rtsock.c
@@ -48,6 +48,7 @@
#include <sys/protosw.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/route.h>
#include <net/raw_cb.h>