changeset 10142:1031f03eec7e

OpenBSD support by Bjorn Sandell <biorn@dce.chalmers.se>
author alex
date Tue, 20 May 2003 19:19:32 +0000
parents 7d6a854a5fe5
children fd3cbeb388f0
files libmpcodecs/ad_realaud.c libmpcodecs/vd_realvid.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_realaud.c	Tue May 20 18:36:55 2003 +0000
+++ b/libmpcodecs/ad_realaud.c	Tue May 20 19:19:32 2003 +0000
@@ -34,7 +34,7 @@
 	free(ize);
 }
 
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 void *__ctype_b=NULL;
 #endif
 
--- a/libmpcodecs/vd_realvid.c	Tue May 20 18:36:55 2003 +0000
+++ b/libmpcodecs/vd_realvid.c	Tue May 20 19:19:32 2003 +0000
@@ -78,7 +78,7 @@
 //	exit(1);
 }
 
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 void ___brk_addr(void) {exit(0);}
 char **__environ={NULL};
 #undef stderr