18 lines
465 B
Plaintext
18 lines
465 B
Plaintext
$OpenBSD: patch-libhfsp_src_swab_h,v 1.3 2007/11/21 14:30:36 ajacoutot Exp $
|
|
--- libhfsp/src/swab.h.orig Tue Mar 5 20:50:29 2002
|
|
+++ libhfsp/src/swab.h Wed Nov 21 13:55:02 2007
|
|
@@ -24,8 +24,13 @@
|
|
* $Id: patch-libhfsp_src_swab_h,v 1.3 2007/11/21 14:30:36 ajacoutot 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);
|