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 #include -#ifdef INET +#if defined(INET) || defined(INET6) #include +#endif + +#ifdef INET #include #include #include