Index: head/sys/contrib/ipfilter/netinet/ip_compat.h =================================================================== --- head/sys/contrib/ipfilter/netinet/ip_compat.h +++ head/sys/contrib/ipfilter/netinet/ip_compat.h @@ -32,7 +32,11 @@ # define __KERNEL__ #endif -#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4))) +#if defined(sun) && (defined(__svr4__) || defined(__SVR4)) +# define SOLARIS 1 +#else +# define SOLARIS 0 +#endif #if defined(__SVR4) || defined(__svr4__) || defined(__sgi)