openbsd-ports/audio/rioutil/patches/patch-librioutil_cksum_c
mjc 4f97894880 Initial import of rioutil-1.4.4
A utility designed for interfacing with Rio's third, fourth,
and fifth generations of portable mp3 players, including the
Rio 600/800/900/S-Series/Riot/psa[play/Fuse/Chiba/Cali.
2004-06-26 07:34:25 +00:00

13 lines
404 B
Plaintext

$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>