summaryrefslogtreecommitdiff
path: root/multimedia/libmpeg3/patches/patch-ac
blob: 987729d8d3ae03bfe7bd22baad9406fe02be3008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ac,v 1.1 2004/06/26 18:00:21 grant 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"