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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4dbaec67f9e1190d15016c811f33ff6cb19eef29;p=pdns 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 cbed52025..ca241a25a 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