summaryrefslogtreecommitdiff
path: root/audio/rioutil/patches/patch-ae
blob: 674102213fce1216c633b1de5e3d44ea1844a35f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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)