]> granicus.if.org Git - pdns/commitdiff
Check for __FreeBSD_kernel__ as per https://lists.debian.org/debian-bsd/2006/03...
authorAki Tuomi <cmouse@desteem.org>
Wed, 3 Sep 2014 08:31:51 +0000 (11:31 +0300)
committerAki Tuomi <cmouse@desteem.org>
Wed, 3 Sep 2014 08:35:14 +0000 (11:35 +0300)
pdns/dns.hh

index cbed5202502888e4c4b402dc4cb302cff67267f0..ca241a25a01bf612dd91e7ba0ba8ac7458b87350 100644 (file)
@@ -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>