aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDarren Reed <darrenr@FreeBSD.org>2000-05-25 16:24:46 +0000
committerDarren Reed <darrenr@FreeBSD.org>2000-05-25 16:24:46 +0000
commitf1beb782994e630e0d6a931df8f28d2217ac5d40 (patch)
tree6e869b49108bc37380cba2f75b697b1e88ed98bb /sys
parentba101983d5c240f191e3f233907ebb4a6c7029f1 (diff)
downloadsrc-f1beb782994e630e0d6a931df8f28d2217ac5d40.tar.gz
src-f1beb782994e630e0d6a931df8f28d2217ac5d40.zip
fix up #ifdef jungle for FreeBSD
Notes
Notes: svn path=/head/; revision=60925
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_log.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/netinet/ip_log.c b/sys/netinet/ip_log.c
index 45382a22f113..7d6f0b158e33 100644
--- a/sys/netinet/ip_log.c
+++ b/sys/netinet/ip_log.c
@@ -16,15 +16,20 @@
# include "opt_ipfilter_log.h"
#endif
#ifdef __FreeBSD__
-# if defined(_KERNEL) && !defined(IPFILTER_LKM)
-# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
-# include "opt_ipfilter.h"
+# if defined(IPFILTER_LKM) || defined(_KERNEL)
+# if !defined(__FreeBSD_version)
+# include <sys/osreldate.h>
+# endif
+# if !defined(IPFILTER_LKM)
+# if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
+# include "opt_ipfilter.h"
+# endif
# endif
# else
# include <osreldate.h>
# endif
#endif
-#ifdef IPFILTER_LOG
+#ifdef IPFILTER_LOG
# ifndef SOLARIS
# define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
# endif