mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
15 lines
576 B
C++
15 lines
576 B
C++
$NetBSD: patch-pdns_dns.hh,v 1.4 2015/03/27 23:37:52 rodent Exp $
|
|
|
|
Add DragonFly support.
|
|
--- pdns/dns.hh.orig 2015-03-02 13:17:09.000000000 +0000
|
|
+++ pdns/dns.hh
|
|
@@ -207,7 +207,7 @@ enum {
|
|
ns_t_any = 255, /* Wildcard match. */
|
|
};
|
|
|
|
-#if __FreeBSD__ || __APPLE__ || __OpenBSD__ || __DragonFly__ || defined(__FreeBSD_kernel__)
|
|
+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
|
|
#include <machine/endian.h>
|
|
#elif __linux__ || __GNU__
|
|
# include <endian.h>
|