tuntap(4): Fix NOINET build after r353741
Shuffle headers around to more appropriate #ifdef OPTION blocks (INET vs. INET6) -- double checked LINT-{NOINET,NOINET6,NOIP}, all seem good. Reported by: cem
This commit is contained in:
parent
e735aa5a74
commit
f7810883d4
@ -88,14 +88,16 @@
|
|||||||
#include <net/netisr.h>
|
#include <net/netisr.h>
|
||||||
#include <net/route.h>
|
#include <net/route.h>
|
||||||
#include <net/vnet.h>
|
#include <net/vnet.h>
|
||||||
#ifdef INET
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
#ifdef INET
|
||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
|
#endif
|
||||||
|
#ifdef INET6
|
||||||
#include <netinet/ip6.h>
|
#include <netinet/ip6.h>
|
||||||
#include <netinet6/ip6_var.h>
|
#include <netinet6/ip6_var.h>
|
||||||
|
#endif
|
||||||
#include <netinet/udp.h>
|
#include <netinet/udp.h>
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
#endif
|
|
||||||
#include <net/bpf.h>
|
#include <net/bpf.h>
|
||||||
#include <net/if_tap.h>
|
#include <net/if_tap.h>
|
||||||
#include <net/if_tun.h>
|
#include <net/if_tun.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user