pkgsrc/devel/libmpeg3/patches/patch-ac

19 lines
462 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2001/08/02 17:34:00 drochner Exp $
--- mpeg3ifo.c.orig Tue Jul 31 17:18:25 2001
+++ mpeg3ifo.c Tue Jul 31 17:18:56 2001
@@ -1,9 +1,13 @@
-#include <byteswap.h>
#include <dirent.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+
+#include <sys/endian.h>
+#include <machine/bswap.h>
+#define bswap_16(x) bswap16(x)
+#define bswap_32(x) bswap32(x)
#include "ifo.h"
#include "mpeg3private.h"