aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_output.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2011-04-25 16:37:47 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2011-04-25 16:37:47 +0000
commit8355d59d919ff6b6d90b01cb5e7d8b2a6235b795 (patch)
tree68bbc96a8c26e79d8a12d4ef2c033186a852a581 /sys/net80211/ieee80211_output.c
parentacaeca65b39beda9ec29784443dff98401c986d9 (diff)
downloadsrc-8355d59d919ff6b6d90b01cb5e7d8b2a6235b795.tar.gz
src-8355d59d919ff6b6d90b01cb5e7d8b2a6235b795.zip
We need in.h for both INET and INET6, as according to RFC 3493 it
defines struct in6_addr, which is needed by ip6_hdr used in here. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 5 days
Notes
Notes: svn path=/head/; revision=221022
Diffstat (limited to 'sys/net80211/ieee80211_output.c')
-rw-r--r--sys/net80211/ieee80211_output.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index c564dd86594e..b6893104eeb2 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -57,8 +57,11 @@ __FBSDID("$FreeBSD$");
#include <net80211/ieee80211_wds.h>
#include <net80211/ieee80211_mesh.h>
-#ifdef INET
+#if defined(INET) || defined(INET6)
#include <netinet/in.h>
+#endif
+
+#ifdef INET
#include <netinet/if_ether.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>