From 4dbaec67f9e1190d15016c811f33ff6cb19eef29 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Wed, 3 Sep 2014 11:31:51 +0300 Subject: [PATCH] Check for __FreeBSD_kernel__ as per https://lists.debian.org/debian-bsd/2006/03/msg00127.html, fixes #1684 --- pdns/dns.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2