svn commit: r193900 - head/sys/contrib/pf/net

Bjoern A. Zeeb bz at FreeBSD.org
Wed Jun 10 11:19:36 UTC 2009


Author: bz
Date: Wed Jun 10 11:19:34 2009
New Revision: 193900
URL: http://svn.freebsd.org/changeset/base/193900

Log:
  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.

Modified:
  head/sys/contrib/pf/net/if_pflog.c

Modified: head/sys/contrib/pf/net/if_pflog.c
==============================================================================
--- head/sys/contrib/pf/net/if_pflog.c	Wed Jun 10 10:59:25 2009	(r193899)
+++ head/sys/contrib/pf/net/if_pflog.c	Wed Jun 10 11:19:34 2009	(r193900)
@@ -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)
 


More information about the svn-src-head mailing list