diff options
author | glebius <glebius@FreeBSD.org> | 2013-04-08 19:20:27 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-04-08 19:20:27 +0000 |
commit | e01107c5d37d344c4a3ed663347b49eaf4527e4a (patch) | |
tree | 5cdc265ddecb0015be4c4618c8638bc40a0b728e /sys | |
parent | 8c6eba117e357de0d074eaba6b730cc2261cd9e0 (diff) | |
download | FreeBSD-src-e01107c5d37d344c4a3ed663347b49eaf4527e4a.zip FreeBSD-src-e01107c5d37d344c4a3ed663347b49eaf4527e4a.tar.gz |
Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.h
isn't included with forced _KERNEL define.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_auth.c b/sys/contrib/ipfilter/netinet/ip_auth.c index 2957845..fcd891f 100644 --- a/sys/contrib/ipfilter/netinet/ip_auth.c +++ b/sys/contrib/ipfilter/netinet/ip_auth.c @@ -70,14 +70,14 @@ struct file; #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/ip.h> +#if !defined(linux) +# include <netinet/ip_var.h> +#endif #if !defined(_KERNEL) && !defined(__osf__) && !defined(__sgi) # define KERNEL # define _KERNEL # define NOT_KERNEL #endif -#if !defined(linux) -# include <netinet/ip_var.h> -#endif #ifdef NOT_KERNEL # undef _KERNEL # undef KERNEL |