summaryrefslogtreecommitdiffstats
path: root/sys/contrib/ipfilter
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-05-09 16:56:51 +0000
committerps <ps@FreeBSD.org>2000-05-09 16:56:51 +0000
commitcffec0416c1cbd4f45110c8da6f621ad1f8882ec (patch)
treea03016e746ed3f6d382ab6a9e9f2db5a0bf264e3 /sys/contrib/ipfilter
parentf88b7fd3fd32c864105159992589f7a6df200147 (diff)
downloadFreeBSD-src-cffec0416c1cbd4f45110c8da6f621ad1f8882ec.zip
FreeBSD-src-cffec0416c1cbd4f45110c8da6f621ad1f8882ec.tar.gz
Add missing include machine/in_cksum.h.
Submitted by: n_hibma
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r--sys/contrib/ipfilter/netinet/fil.c2
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/contrib/ipfilter/netinet/fil.c b/sys/contrib/ipfilter/netinet/fil.c
index 9561142..3a5444a 100644
--- a/sys/contrib/ipfilter/netinet/fil.c
+++ b/sys/contrib/ipfilter/netinet/fil.c
@@ -87,6 +87,8 @@ static const char rcsid[] = "@(#)$FreeBSD$";
#endif
#include "netinet/ipl.h"
+#include <machine/in_cksum.h>
+
#ifndef _KERNEL
# include "ipf.h"
# include "ipt.h"
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.c b/sys/contrib/ipfilter/netinet/ip_fil.c
index 8216537..08117a7 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil.c
+++ b/sys/contrib/ipfilter/netinet/ip_fil.c
@@ -114,6 +114,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
extern int ip_optcopy __P((struct ip *, struct ip *));
#endif
+#include <machine/in_cksum.h>
extern struct protosw inetsw[];
OpenPOWER on IntegriCloud