freebsd-ports/multimedia/xanim/files/patch-xa_audio.h
Motoyuki Konno 8d4724eed2 Fix build problem on 5-current.
<machine/soundcard.h> is moved to <sys/soundcard.h> on both 4-stable
and 5-current.  See commitlog of src/include/Makefile rev 1.165.
2002-04-11 00:22:33 +00:00

14 lines
328 B
C

--- xa_audio.h.old Thu Apr 11 08:48:39 2002
+++ xa_audio.h Thu Apr 11 08:49:25 2002
@@ -139,7 +139,11 @@
#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