25 lines
658 B
Plaintext
25 lines
658 B
Plaintext
$OpenBSD: patch-gtkpool_sound_cpp,v 1.3 2002/10/25 11:59:06 naddy Exp $
|
|
--- gtkpool/sound.cpp.orig Sun Jul 28 23:57:41 2002
|
|
+++ gtkpool/sound.cpp Thu Oct 24 12:08:17 2002
|
|
@@ -20,13 +20,19 @@
|
|
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
+#ifdef __OpenBSD__
|
|
+#include <soundcard.h>
|
|
+#include <sys/audioio.h>
|
|
+#include <string.h>
|
|
+#else
|
|
#include <sys/soundcard.h>
|
|
+#endif
|
|
#include <sys/ioctl.h>
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
#include "sound.h"
|
|
|
|
-SoundError::SoundError(char *desc, int c, int r = 0, int g = 0){
|
|
+SoundError::SoundError(char *desc, int c, int r, int g){
|
|
description = strdup(desc);
|
|
code = c;
|
|
requested = r;
|