summaryrefslogtreecommitdiff
path: root/emulators/hfsplusutils/files/patch-swab.h
blob: 46fa7cbe271cc3497ebad94fb17fa8ed34f04a1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- libhfsp/src/swab.h.orig	Tue Mar  5 14:50:29 2002
+++ libhfsp/src/swab.h	Tue Nov 11 14:53:14 2003
@@ -24,8 +24,11 @@
  * $Id: swab.h,v 1.1.1.1 2002/03/05 19:50:29 klaus Exp $
  */
 
-#include <endian.h>
-#include <byteswap.h> 
+#include <sys/endian.h>
+
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#define bswap_64 bswap64
 
  /* basic fuction:
     value = swab_inc(ptr);