From: Aki Tuomi Date: Wed, 3 Sep 2014 08:31:51 +0000 (+0300) Subject: Check for __FreeBSD_kernel__ as per https://lists.debian.org/debian-bsd/2006/03... X-Git-Tag: auth-3.4.0-rc2~19^2~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1698%2Fhead;p=thirdparty%2Fpdns.git Check for __FreeBSD_kernel__ as per https://lists.debian.org/debian-bsd/2006/03/msg00127.html, fixes #1684 --- diff --git a/pdns/dns.hh b/pdns/dns.hh index cbed520250..ca241a25a0 100644 --- a/pdns/dns.hh +++ b/pdns/dns.hh @@ -207,7 +207,7 @@ enum { ns_t_any = 255, /* Wildcard match. */ }; -#if __FreeBSD__ || __APPLE__ || __OpenBSD__ +#if __FreeBSD__ || __APPLE__ || __OpenBSD__ || __FreeBSD_kernel__ #include #elif __linux__ || __GNU__ # include