Be less strict on includes than in r220746. We need in.h for both

INET or INET6 as it holds all the IPPROTO_* definitions needed
for the SYSCTL_NODE definitions.

Reviewed by:	gnn
Sponsored by:	The FreeBSD Foundation
Sponsored by:	iXsystems
MFC after:	5 days
This commit is contained in:
Bjoern A. Zeeb 2011-04-25 16:36:16 +00:00
parent c6d2fa7e36
commit acaeca65b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221021

View File

@ -64,8 +64,13 @@ __FBSDID("$FreeBSD$");
#include <net/radix_mpath.h>
#endif
#include <net/vnet.h>
#endif /* INET */
#if defined(INET) || defined(INET6)
#include <netinet/in.h>
#endif
#ifdef INET
#include <netinet/in_systm.h>
#include <netinet/in_var.h>
#include <netinet/ip.h>