changeset 12797:b2419eef04da

OpenBSD portability patches from the OpenBSD ports tree
author diego
date Sun, 11 Jul 2004 22:23:57 +0000
parents 24075685789b
children 33423862b159
files libmpdemux/stream_vcd.c libmpdemux/vcd_read_nbsd.h
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream_vcd.c	Sun Jul 11 22:16:52 2004 +0000
+++ b/libmpdemux/stream_vcd.c	Sun Jul 11 22:23:57 2004 +0000
@@ -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"
--- a/libmpdemux/vcd_read_nbsd.h	Sun Jul 11 22:16:52 2004 +0000
+++ b/libmpdemux/vcd_read_nbsd.h	Sun Jul 11 22:23:57 2004 +0000
@@ -1,6 +1,8 @@
 
 #include <sys/types.h>
+#ifdef __NetBSD__
 #include <sys/inttypes.h>
+#endif
 #include <sys/cdio.h>
 #include <sys/scsiio.h>