Index: head/contrib/libpcap/bpf/net/bpf_filter.c =================================================================== --- head/contrib/libpcap/bpf/net/bpf_filter.c +++ head/contrib/libpcap/bpf/net/bpf_filter.c @@ -61,7 +61,12 @@ #include #include -#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(__hpux) || SOLARIS # include # include