Permalink
Browse files

__FreeBSD_kernel__ is defined but empty on systems with FreeBSD kerne…

…ls, breaking compile. Thanks pawal
  • Loading branch information...
1 parent bf5a484 commit 74f389d32e766fd21c64d04fe2ad8f9d5d39ffb4 @Habbie Habbie committed Sep 8, 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__ || __FreeBSD_kernel__
+#if __FreeBSD__ || __APPLE__ || __OpenBSD__ || defined(__FreeBSD_kernel__)
#include <machine/endian.h>
#elif __linux__ || __GNU__
# include <endian.h>

0 comments on commit 74f389d

Please sign in to comment.