diff options
Diffstat (limited to 'audio/rio500/files/patch-include_libfon.h')
-rw-r--r-- | audio/rio500/files/patch-include_libfon.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/rio500/files/patch-include_libfon.h b/audio/rio500/files/patch-include_libfon.h new file mode 100644 index 000000000000..767dd5e0a5ba --- /dev/null +++ b/audio/rio500/files/patch-include_libfon.h @@ -0,0 +1,12 @@ +--- include/libfon.h.orig 2000-05-21 23:01:46 UTC ++++ include/libfon.h +@@ -34,6 +34,9 @@ + #define MZ_HEADER_MAGIC 0x5a4d + #define NE_HEADER_MAGIC 0x454e + ++#define bswap_16(x) (be16toh(x)) ++#define bswap_32(x) (be32toh(x)) ++ + typedef struct { + uint16_t magic; + uint16_t dummy[29]; /* MZ Header data that we want to skip */ |