blob: 40d2dea2e860bd209344948e3d0600c5c6d4e4a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- configure.orig Wed Oct 27 01:13:45 1999
+++ configure Wed Oct 27 03:29:33 1999
@@ -2945,7 +2945,7 @@
esac
case "$host" in
- *-linux-*)
+ *-linux-* | *-freebsd*)
sound_if_src=SoundIF-linux.cc
;;
--- xdao/SoundIF-linux.cc.orig Wed Oct 27 01:13:46 1999
+++ xdao/SoundIF-linux.cc Wed Oct 27 03:37:23 1999
@@ -31,7 +31,14 @@
*
*/
+# if defined(__FreeBSD__)
+#include <machine/soundcard.h>
+# if !defined(SNDCTL_DSP_CHANNELS)
+# define SNDCTL_DSP_CHANNELS SNDCTL_DSP_STEREO
+# endif
+# else
#include <linux/soundcard.h>
+# endif
#include <stdio.h>
#include <assert.h>
|