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
This commit is contained in:
parent
acaeca65b3
commit
8355d59d91
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221022
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user