aboutsummaryrefslogtreecommitdiff
path: root/audio/esound/files/patch-audio_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/esound/files/patch-audio_oss.c')
-rw-r--r--audio/esound/files/patch-audio_oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/esound/files/patch-audio_oss.c b/audio/esound/files/patch-audio_oss.c
index 73aa38a82b0f..9d540c88e219 100644
--- a/audio/esound/files/patch-audio_oss.c
+++ b/audio/esound/files/patch-audio_oss.c
@@ -11,7 +11,7 @@
+#endif
/* FreeBSD uses a different identifier? what other BSDs? */
--#ifdef __FreeBSD__
+-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#ifndef SNDCTL_DSP_SETDUPLEX
#define SNDCTL_DSP_SETDUPLEX DSP_CAP_DUPLEX
#endif