]> granicus.if.org Git - pdns/commitdiff
import 'Add DragonFly support.' from pkgsrc
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 12 Jan 2015 15:38:20 +0000 (16:38 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 26 Jan 2015 20:36:54 +0000 (21:36 +0100)
(cherry picked from commit 0c86d4c318018c34dc76419f4fcf8052d3e48008)

Conflicts:
pdns/dns.hh

pdns/dns.hh

index 611c3daf1e187d6b9d812eb40daeea3d2574aa07..bf3aa06e4486a63949732189ab6fcd9310ef914c 100644 (file)
@@ -207,7 +207,7 @@ enum  {
         ns_t_any = 255,         /* Wildcard match. */
 };
 
-#if __FreeBSD__ || __APPLE__ || __OpenBSD__ ||  defined(__FreeBSD_kernel__)
+#if __FreeBSD__ || __APPLE__ || __OpenBSD__ || __DragonFly__ || defined(__FreeBSD_kernel__)
 #include <machine/endian.h>
 #elif __linux__ || __GNU__
 # include <endian.h>