summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-03 21:20:19 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-03 21:20:19 +0000
commit9b74f022396d0e53a3a022bbdcdfcdab6dd9615e (patch)
tree1ee55bf34bddfed22d5fd07044140d6c6e683889 /libdha
parented856102c684b065e3ba35a4c9d28e3f108722e5 (diff)
downloadmpv-9b74f022396d0e53a3a022bbdcdfcdab6dd9615e.tar.bz2
mpv-9b74f022396d0e53a3a022bbdcdfcdab6dd9615e.tar.xz
OpenBSD PPC libdha fix by Björn Sandell.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6632 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r--libdha/sysdep/pci_openbsd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdha/sysdep/pci_openbsd.c b/libdha/sysdep/pci_openbsd.c
index 13504db818..89c85eab69 100644
--- a/libdha/sysdep/pci_openbsd.c
+++ b/libdha/sysdep/pci_openbsd.c
@@ -4,6 +4,8 @@
Modified for readability by Nick Kurshev
*/
+#ifdef __i386__
+
#include <errno.h>
#include <sys/types.h>
#include <machine/sysarch.h>
@@ -22,3 +24,4 @@ static __inline__ int disable_os_io(void)
/* Nothing to do */
return(0);
}
+#endif