aboutsummaryrefslogblamecommitdiff
path: root/multimedia/spook/files/patch-bswap.h
blob: 66f8cea94cb1d20726f6dcacf33c53141b3c8a26 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                               











                                 
--- bswap.h.orig	2005-02-08 02:20:14 UTC
+++ bswap.h
@@ -6,7 +6,11 @@
 #ifndef __BSWAP_H__
 #define __BSWAP_H__
 
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#else
 #include <endian.h>
+#endif
 #if __BYTE_ORDER == __BIG_ENDIAN
 #define WORDS_BIGENDIAN
 #endif