2011-10-24 15:47:55 -04:00
|
|
|
$OpenBSD: patch-pdns_dns_hh,v 1.4 2011/10/24 19:47:55 sthen Exp $
|
|
|
|
--- pdns/dns.hh.orig Sat Nov 15 15:05:43 2008
|
|
|
|
+++ pdns/dns.hh Fri Oct 21 08:37:48 2011
|
|
|
|
@@ -173,7 +173,7 @@ enum {
|
|
|
|
#ifdef WIN32
|
|
|
|
#define BYTE_ORDER 1
|
|
|
|
#define LITTLE_ENDIAN 1
|
|
|
|
-#elif __FreeBSD__ || __APPLE__
|
|
|
|
+#elif __FreeBSD__ || __APPLE__ || __OpenBSD__
|
2008-10-02 14:40:41 -04:00
|
|
|
#include <machine/endian.h>
|
|
|
|
#elif __linux__
|
|
|
|
# include <endian.h>
|