diff --git a/libmpcodecs/ad_realaud.c b/libmpcodecs/ad_realaud.c index 0493b7c0ae..632a2ed61e 100644 --- a/libmpcodecs/ad_realaud.c +++ b/libmpcodecs/ad_realaud.c @@ -34,7 +34,7 @@ void __builtin_delete(void* ize) { free(ize); } -#if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) void *__ctype_b=NULL; #endif diff --git a/libmpcodecs/vd_realvid.c b/libmpcodecs/vd_realvid.c index fd868d4df2..ff0925ee46 100644 --- a/libmpcodecs/vd_realvid.c +++ b/libmpcodecs/vd_realvid.c @@ -78,7 +78,7 @@ void __pure_virtual(void) { // 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