$OpenBSD: patch-libhfsp_src_swab_h,v 1.1.1.1 2002/03/30 20:46:26 drahn Exp $
--- libhfsp/src/swab.h.orig	Mon Mar 25 12:04:01 2002
+++ libhfsp/src/swab.h	Mon Mar 25 12:03:46 2002
@@ -23,8 +23,13 @@
  * $Id: patch-libhfsp_src_swab_h,v 1.1.1.1 2002/03/30 20:46:26 drahn 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);
