mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.h
isn't included with forced _KERNEL define.
This commit is contained in:
parent
17dece86fe
commit
22e71d1cc4
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue