summaryrefslogtreecommitdiff
path: root/net/powerdns-recursor/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/powerdns-recursor/patches/patch-ab')
-rw-r--r--net/powerdns-recursor/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/powerdns-recursor/patches/patch-ab b/net/powerdns-recursor/patches/patch-ab
new file mode 100644
index 00000000000..31dd9c8fa60
--- /dev/null
+++ b/net/powerdns-recursor/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/04/21 14:16:47 roy Exp $
+
+--- dns.hh.orig 2009-04-20 23:55:30.000000000 +0100
++++ dns.hh 2009-04-20 23:56:45.000000000 +0100
+@@ -166,10 +166,11 @@
+ ns_t_any = 255, /* Wildcard match. */
+ };
+
++#include <sys/param.h>
+ #ifdef WIN32
+ #define BYTE_ORDER 1
+ #define LITTLE_ENDIAN 1
+-#elif __FreeBSD__ || __APPLE__
++#elif BSD
+ #include <machine/endian.h>
+ #elif __linux__
+ # include <endian.h>