Permalink
Browse files

Check for __FreeBSD_kernel__ as per https://lists.debian.org/debian-b…

  • Loading branch information...
1 parent fa04797 commit 4dbaec67f9e1190d15016c811f33ff6cb19eef29 @cmouse cmouse committed Sep 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdns/dns.hh
View
@@ -207,7 +207,7 @@ enum {
ns_t_any = 255, /* Wildcard match. */
};
-#if __FreeBSD__ || __APPLE__ || __OpenBSD__
+#if __FreeBSD__ || __APPLE__ || __OpenBSD__ || __FreeBSD_kernel__
#include <machine/endian.h>
#elif __linux__ || __GNU__
# include <endian.h>

0 comments on commit 4dbaec6

Please sign in to comment.