summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2013-05-24 19:01:07 -0400
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-06-11 17:21:47 -0500
commit9e7fdafc6553cedaf2d2247142929f89deeb4ed8 (patch)
tree02a32162dbd3b4f79fe3e28b5e95ffd5e100bb37
parentd503afb28d4df3f558f07329c3bd0325f9f68d1a (diff)
downloadqemu-9e7fdafc6553cedaf2d2247142929f89deeb4ed8.tar.gz
Remove OSS support for OpenBSD
Remove the OSS support for OpenBSD. The OSS API has not been usable for quite some time. Signed-off-by: Brad Smith <brad@comstyle.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com> (cherry picked from commit 4f6ab397b60615d2da77bff4f32666be9ac2e949) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
-rw-r--r--audio/ossaudio.c4
-rwxr-xr-xconfigure5
2 files changed, 2 insertions, 7 deletions
diff --git a/audio/ossaudio.c b/audio/ossaudio.c
index 00be9c91e3..007c64115a 100644
--- a/audio/ossaudio.c
+++ b/audio/ossaudio.c
@@ -25,11 +25,7 @@
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/ioctl.h>
-#ifdef __OpenBSD__
-#include <soundcard.h>
-#else
#include <sys/soundcard.h>
-#endif
#include "qemu-common.h"
#include "qemu/main-loop.h"
#include "qemu/host-utils.h"
diff --git a/configure b/configure
index 5ae7e4a348..eb74510940 100755
--- a/configure
+++ b/configure
@@ -468,9 +468,8 @@ NetBSD)
OpenBSD)
bsd="yes"
make="${MAKE-gmake}"
- audio_drv_list="oss"
- audio_possible_drivers="oss sdl esd"
- oss_lib="-lossaudio"
+ audio_drv_list="sdl"
+ audio_possible_drivers="sdl esd"
;;
Darwin)
bsd="yes"