0e994c4478
-- From: drahn@
18 lines
455 B
Plaintext
18 lines
455 B
Plaintext
$OpenBSD: patch-libhfsp_src_swab_h,v 1.2 2003/01/05 01:59:34 brad Exp $
|
|
--- libhfsp/src/swab.h.orig Tue Mar 5 14:50:29 2002
|
|
+++ libhfsp/src/swab.h Fri Jan 3 14:27:53 2003
|
|
@@ -24,8 +24,13 @@
|
|
* $Id: patch-libhfsp_src_swab_h,v 1.2 2003/01/05 01:59:34 brad Exp $
|
|
*/
|
|
|
|
+#if defined(__OpenBSD__)
|
|
+#include <sys/types.h>
|
|
+#include <sys/endian.h>
|
|
+#else
|
|
#include <endian.h>
|
|
#include <byteswap.h>
|
|
+#endif
|
|
|
|
/* basic fuction:
|
|
value = swab_inc(ptr);
|