aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2013-05-24 19:01:07 -0400
committerBlue Swirl <blauwirbel@gmail.com>2013-05-26 11:14:52 +0000
commit4f6ab397b60615d2da77bff4f32666be9ac2e949 (patch)
tree52bdca85f2c8b10ffff27ab58a3c2541ee0d2d9a
parent5b35b4e91d4d023d44dc28437ae414a21e9b8117 (diff)
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>
-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"