[Pdns-dev] [PATCH] Update dns.hh header to use OpenBSD's endian header.

Brad brad at comstyle.com
Fri Oct 21 14:48:15 CEST 2011

Add OpenBSD here to make use of the endian header.

Index: pdns/dns.hh
--- pdns/dns.hh	(revision 2283)
+++ pdns/dns.hh	(working copy)
@@ -192,7 +192,7 @@
 #ifdef WIN32
 #define BYTE_ORDER 1
 #define LITTLE_ENDIAN 1
-#elif __FreeBSD__ || __APPLE__
+#elif __FreeBSD__ || __APPLE__ || __OpenBSD__
 #include <machine/endian.h>
 #elif __linux__
 # include <endian.h>

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the Pdns-dev mailing list