From 6dfc5bfda892be55a40a7f3d79c2e27396106f68 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sun, 31 May 2020 17:54:31 +0900 Subject: mpeglib: change to use SunOS API audioIO backend for NetBSD On NetBSD, SunOS compatible native API should be used instead of OSS audio emulator layer. Signed-off-by: OBATA Akio --- mpeglib/lib/util/audio/audioIO_SunOS.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mpeglib/lib/util/audio/audioIO_SunOS.cpp') diff --git a/mpeglib/lib/util/audio/audioIO_SunOS.cpp b/mpeglib/lib/util/audio/audioIO_SunOS.cpp index 4e9958a1..afbb28e3 100644 --- a/mpeglib/lib/util/audio/audioIO_SunOS.cpp +++ b/mpeglib/lib/util/audio/audioIO_SunOS.cpp @@ -8,13 +8,19 @@ */ #include +#ifdef OS_SunOS #include +#else +#include +#endif #include #include #include #include +#ifdef OS_BSD +#define uchar_t u_char +#endif #include "audioIO.h" -#include /* declare these static to effectively isolate the audio device */ -- cgit v1.2.1