diff options
author | Darren Reed <darrenr@FreeBSD.org> | 2000-05-25 16:24:46 +0000 |
---|---|---|
committer | Darren Reed <darrenr@FreeBSD.org> | 2000-05-25 16:24:46 +0000 |
commit | f1beb782994e630e0d6a931df8f28d2217ac5d40 (patch) | |
tree | 6e869b49108bc37380cba2f75b697b1e88ed98bb /sys | |
parent | ba101983d5c240f191e3f233907ebb4a6c7029f1 (diff) | |
download | src-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.c | 13 |
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 |