summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-11 22:23:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-11 22:23:57 +0000
commit9b0045f5e1cdf51113e601f79ad42b730c55594e (patch)
treed31274562a1aa41305a4b2cc4a0ebb725bdbdbd7
parent87a4968354dbf100f64e1fa3eccc84fbba83ece4 (diff)
downloadmpv-9b0045f5e1cdf51113e601f79ad42b730c55594e.tar.bz2
mpv-9b0045f5e1cdf51113e601f79ad42b730c55594e.tar.xz
OpenBSD portability patches from the OpenBSD ports tree
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12798 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/stream_vcd.c2
-rw-r--r--libmpdemux/vcd_read_nbsd.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/stream_vcd.c b/libmpdemux/stream_vcd.c
index 7f4bace00a..7076f394d7 100644
--- a/libmpdemux/stream_vcd.c
+++ b/libmpdemux/stream_vcd.c
@@ -17,7 +17,7 @@
#ifdef __FreeBSD__
#include <sys/cdrio.h>
#include "vcd_read_fbsd.h"
-#elif defined(__NetBSD__)
+#elif defined(__NetBSD__) || defined (__OpenBSD__)
#include "vcd_read_nbsd.h"
#else
#include "vcd_read.h"
diff --git a/libmpdemux/vcd_read_nbsd.h b/libmpdemux/vcd_read_nbsd.h
index c64fe3a333..f50d7954d5 100644
--- a/libmpdemux/vcd_read_nbsd.h
+++ b/libmpdemux/vcd_read_nbsd.h
@@ -1,6 +1,8 @@
#include <sys/types.h>
+#ifdef __NetBSD__
#include <sys/inttypes.h>
+#endif
#include <sys/cdio.h>
#include <sys/scsiio.h>