Tests by Pierre Emeriaud (co-maintainer) and florian@, ok sthen@ DESCR: Knot DNS is a high-performance authoritative-only DNS server which supports all key features of the domain name system including zone transfers and DNSSEC. Among its goals is support for on-line addition and removal of zones.
16 lines
582 B
Plaintext
16 lines
582 B
Plaintext
$OpenBSD: patch-src_libknot_util_endian_h,v 1.1.1.1 2015/04/12 16:07:13 jca Exp $
|
|
--- src/libknot/util/endian.h.orig Thu Feb 19 09:43:56 2015
|
|
+++ src/libknot/util/endian.h Fri Apr 3 02:42:16 2015
|
|
@@ -32,10 +32,7 @@
|
|
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
|
# include <sys/endian.h>
|
|
#elif defined(__OpenBSD__)
|
|
-# include <sys/types.h>
|
|
-# define be16toh(x) betoh16(x)
|
|
-# define be32toh(x) betoh32(x)
|
|
-# define be64toh(x) betoh64(x)
|
|
+# include <endian.h>
|
|
#elif defined(__APPLE__)
|
|
# include <libkern/OSByteOrder.h>
|
|
# define be16toh(x) OSSwapBigToHostInt16(x)
|