5ba4e4fd59
see http://qemu.org/changelog.html for details new in OpenBSD, support for raw block devices
20 lines
511 B
Plaintext
20 lines
511 B
Plaintext
$OpenBSD: patch-audio_ossaudio_c,v 1.3 2007/05/01 12:55:14 todd Exp $
|
|
--- audio/ossaudio.c.orig Mon Feb 5 17:01:54 2007
|
|
+++ audio/ossaudio.c Sat Mar 10 16:39:38 2007
|
|
@@ -21,10 +21,15 @@
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
* THE SOFTWARE.
|
|
*/
|
|
+#include <stdlib.h>
|
|
#include <sys/mman.h>
|
|
#include <sys/types.h>
|
|
#include <sys/ioctl.h>
|
|
+#ifdef __OpenBSD__
|
|
+#include <soundcard.h>
|
|
+#else
|
|
#include <sys/soundcard.h>
|
|
+#endif
|
|
#include "vl.h"
|
|
|
|
#define AUDIO_CAP "oss"
|