aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/pf
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2009-06-10 11:19:34 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2009-06-10 11:19:34 +0000
commitf4945c9f023cdc95e2905ec88aef986526c0da82 (patch)
tree8f76e74d8d3e1ba1db223855192e1158286795f8 /sys/contrib/pf
parent6167e6c88fecdc96b18e8b1b40227d8047324ca8 (diff)
downloadsrc-f4945c9f023cdc95e2905ec88aef986526c0da82.tar.gz
src-f4945c9f023cdc95e2905ec88aef986526c0da82.zip
All consumers of in_cksum.h have been properly #ifdefed already,
so do not include the file either as it would give as an extra dependency on INET.
Notes
Notes: svn path=/head/; revision=193900
Diffstat (limited to 'sys/contrib/pf')
-rw-r--r--sys/contrib/pf/net/if_pflog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/contrib/pf/net/if_pflog.c b/sys/contrib/pf/net/if_pflog.c
index 6f44dcf9352d..6dbb503204bf 100644
--- a/sys/contrib/pf/net/if_pflog.c
+++ b/sys/contrib/pf/net/if_pflog.c
@@ -99,9 +99,11 @@ __FBSDID("$FreeBSD$");
#include <net/pfvar.h>
#include <net/if_pflog.h>
+#ifdef INET
#ifdef __FreeBSD__
#include <machine/in_cksum.h>
#endif
+#endif
#define PFLOGMTU (32768 + MHLEN + MLEN)