KERNEL -> _KERNEL
This commit is contained in:
parent
e12881b15e
commit
3418fe8734
@ -20,7 +20,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
|
||||
defined(_KERNEL)
|
||||
# include "opt_ipfilter_log.h"
|
||||
#endif
|
||||
#if defined(KERNEL) && defined(__FreeBSD_version) && \
|
||||
#if defined(_KERNEL) && defined(__FreeBSD_version) && \
|
||||
(__FreeBSD_version >= 220000)
|
||||
# include <sys/filio.h>
|
||||
# include <sys/fcntl.h>
|
||||
|
@ -20,7 +20,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
#endif
|
||||
#if defined(KERNEL) && (__FreeBSD_version >= 220000)
|
||||
#if defined(_KERNEL) && (__FreeBSD_version >= 220000)
|
||||
# include <sys/filio.h>
|
||||
# include <sys/fcntl.h>
|
||||
#else
|
||||
|
@ -25,7 +25,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
|
||||
# include <string.h>
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
#if defined(KERNEL) && (__FreeBSD_version >= 220000)
|
||||
#if defined(_KERNEL) && (__FreeBSD_version >= 220000)
|
||||
# include <sys/filio.h>
|
||||
# include <sys/fcntl.h>
|
||||
#else
|
||||
|
@ -31,7 +31,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
|
||||
# include <string.h>
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
#if defined(KERNEL) && (__FreeBSD_version >= 220000)
|
||||
#if defined(_KERNEL) && (__FreeBSD_version >= 220000)
|
||||
# include <sys/filio.h>
|
||||
# include <sys/fcntl.h>
|
||||
#else
|
||||
|
@ -29,7 +29,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
|
||||
# include <linux/module.h>
|
||||
# endif
|
||||
#endif
|
||||
#if defined(KERNEL) && (__FreeBSD_version >= 220000)
|
||||
#if defined(_KERNEL) && (__FreeBSD_version >= 220000)
|
||||
# include <sys/filio.h>
|
||||
# include <sys/fcntl.h>
|
||||
# if (__FreeBSD_version >= 300000) && !defined(IPFILTER_LKM)
|
||||
|
Loading…
x
Reference in New Issue
Block a user