NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: DNSSEC vs netbsd-8/sparc?
Patch modified for netbsd-7 (<sys/endian.h> instead of <endian.h>):
Index: include/config.h
===================================================================
RCS file: /cvsroot/src/external/bsd/bind/include/Attic/config.h,v
retrieving revision 1.20.8.1
diff -u -r1.20.8.1 config.h
--- include/config.h 21 Jun 2017 18:03:51 -0000 1.20.8.1
+++ include/config.h 21 Apr 2020 14:26:04 -0000
@@ -594,6 +594,11 @@
/* # undef WORDS_BIGENDIAN */
# endif
#endif
+#else /* __NetBSD__ */
+# include <sys/endian.h>
+# if _BYTE_ORDER == _BIG_ENDIAN
+# define WORDS_BIGENDIAN 1
+# endif
#endif
/* Define to empty if `const' does not conform to ANSI C. */
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index