summaryrefslogtreecommitdiff
path: root/multimedia/xanim/files/patch-xa_audio.h
blob: 6538448debd6b6f0261233302fc228ba6d6972b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- xa_audio.h.orig	1999-03-21 22:36:25 UTC
+++ xa_audio.h
@@ -139,7 +139,11 @@ extern xaULONG xa_forkit;
 #define _FILE_DSP "/dev/dsp"
 #define _FILE_MIXER "/dev/mixer"
 #ifdef __FreeBSD__
+#if __FreeBSD__ > 3
+#include <sys/soundcard.h>
+#else
 #include <machine/soundcard.h>
+#endif
 #else
 #include <sys/soundcard.h>
 #endif