diff options
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_fw2.c | 3 | ||||
-rw-r--r-- | sys/netinet/ip_fw_pfil.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 1c19f8d..618f5f7 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$"); #include <sys/syslog.h> #include <sys/ucred.h> #include <sys/vimage.h> +#include <net/ethernet.h> /* for ETHERTYPE_IP */ #include <net/if.h> #include <net/radix.h> #include <net/route.h> @@ -98,8 +99,6 @@ __FBSDID("$FreeBSD$"); #include <netinet6/scope6_var.h> #endif -#include <netinet/if_ether.h> /* XXX for ETHERTYPE_IP */ - #include <machine/in_cksum.h> /* XXX for in_cksum */ #ifdef MAC diff --git a/sys/netinet/ip_fw_pfil.c b/sys/netinet/ip_fw_pfil.c index 694f8ab..1e6d2b0 100644 --- a/sys/netinet/ip_fw_pfil.c +++ b/sys/netinet/ip_fw_pfil.c @@ -51,13 +51,13 @@ __FBSDID("$FreeBSD$"); #include <sys/ucred.h> #include <sys/vimage.h> +#define _NET_IF_VAR_H_ /* we don't want if_var.h, only if.h */ #include <net/if.h> #include <net/route.h> #include <net/pfil.h> #include <netinet/in.h> #include <netinet/in_systm.h> -#include <netinet/in_var.h> #include <netinet/ip.h> #include <netinet/ip_var.h> #include <netinet/ip_fw.h> |