mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 19:54:59 -04:00
15 lines
443 B
Plaintext
15 lines
443 B
Plaintext
$NetBSD: patch-ae,v 1.3 2007/02/02 15:58:58 joerg Exp $
|
|
|
|
--- include/rioi.h.orig 2006-08-04 22:40:49.000000000 +0000
|
|
+++ include/rioi.h
|
|
@@ -190,7 +190,8 @@ Group ID 0x7c ????
|
|
#define bswap_32(x) NXSwapLong(x)
|
|
#define bswap_16(x) NXSwapShort(x)
|
|
|
|
-#elif defined (__NetBSD__)
|
|
+#elif defined (__NetBSD__) || defined(__DragonFly__)
|
|
+#include <sys/endian.h>
|
|
|
|
#define bswap_64(x) bswap64(x)
|
|
#define bswap_32(x) bswap32(x)
|