summaryrefslogtreecommitdiff
path: root/x11-wm/xfce/files/patch-ai
blob: 2ff5571f80c7ccdd002ab69f38b634a4d43070e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- xfsound/xfdsp.c.orig	Fri Jul  7 05:51:00 2000
+++ xfsound/xfdsp.c	Tue Feb  6 04:52:16 2001
@@ -45,7 +45,7 @@
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
-#if defined(linux)
+#if defined(linux) || defined(__FreeBSD__)
 #include <sys/soundcard.h>	/* guess :) */
 #endif
 
@@ -62,7 +62,7 @@
 
 int masterfd;
 
-#if defined(linux)
+#if defined(linux) || defined(__FreeBSD__)
 int
 i_play (char *soundfile)
 {