$OpenBSD: patch-librioutil_cksum_c,v 1.1.1.1 2004/06/26 07:34:25 mjc Exp $
--- librioutil/cksum.c.orig	Wed Jun 23 20:00:14 2004
+++ librioutil/cksum.c	Wed Jun 23 20:01:33 2004
@@ -31,6 +31,8 @@
 #include <endian.h>
 #elif defined(__FreeBSD__) || defined(__MacOSX__)
 #include <machine/endian.h>
+#elif defined(__OpenBSD__)
+#include <sys/endian.h>
 #else
 #include <sys/endian.h>
 #include <sys/bswap.h>
