summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>