openbsd-ports/net/powerdns/patches/patch-pdns_dns_hh

13 lines
389 B
Plaintext
Raw Normal View History

$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__
#include <machine/endian.h>
#elif __linux__
# include <endian.h>