$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>
