forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
12 lines
404 B
C
12 lines
404 B
C
--- audio.c.orig 2004-08-15 16:07:55.000000000 +0200
|
|
+++ audio.c 2010-04-03 09:44:58.000000000 +0200
|
|
@@ -45,6 +45,9 @@
|
|
#include <linux/sched.h>
|
|
#include <linux/unistd.h>
|
|
#endif
|
|
+#elif defined(__FreeBSD__)
|
|
+#include <sys/soundcard.h>
|
|
+#define SOUND_DEVICE "/dev/dsp"
|
|
#elif defined(__NetBSD__) || defined(__OpenBSD__)
|
|
/* NetBSD's Linux API emulation, require -lossaudio too */
|
|
#include <soundcard.h>
|