summaryrefslogtreecommitdiff
path: root/x11-clocks/emiclock/files/patch-include::sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks/emiclock/files/patch-include::sound.h')
-rw-r--r--x11-clocks/emiclock/files/patch-include::sound.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-clocks/emiclock/files/patch-include::sound.h b/x11-clocks/emiclock/files/patch-include::sound.h
new file mode 100644
index 000000000000..f62cdabf221a
--- /dev/null
+++ b/x11-clocks/emiclock/files/patch-include::sound.h
@@ -0,0 +1,14 @@
+--- include/sound.h.old Thu Sep 2 23:34:10 1999
++++ include/sound.h Thu Apr 11 08:32:05 2002
+@@ -222,7 +222,11 @@
+ #include <sys/types.h>
+ #include <sys/file.h>
+ #include <sys/stat.h>
++#if __FreeBSD__ > 3
++#include <sys/soundcard.h>
++#else
+ #include <machine/soundcard.h>
++#endif
+
+ #undef O_RDWR
+ #define O_RDWR O_WRONLY /* audio $B%G%P%$%9$OF1;~%*!<%W%s$G$-$J$$!)(B */