3
--- lib-src/portaudio-v19/src/hostapi/oss/pa_unix_oss.c
4
+++ lib-src/portaudio-v19/src/hostapi/oss/pa_unix_oss.c
10
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
11
# include <sys/soundcard.h>
12
# define DEVICE_NAME_BASE "/dev/dsp"
13
#elif defined __linux__
16
--- lib-src/portaudio/pa_unix_oss/pa_unix_oss.c
17
+++ lib-src/portaudio/pa_unix_oss/pa_unix_oss.c
20
#if defined(__linux__)
21
#include <linux/soundcard.h>
22
-#elif defined(__FreeBSD__)
23
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
24
#include <sys/soundcard.h>
26
#include <machine/soundcard.h> /* JH20010905 */
29
--- lib-src/libnyquist/snd/sndconfig.h
30
+++ lib-src/libnyquist/snd/sndconfig.h
35
-#elif defined(__FreeBSD__)
36
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
37
#include "sndfreebsd.h"