summaryrefslogtreecommitdiff
path: root/audio/esound/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-08-12 17:31:27 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-08-12 17:31:27 +0000
commit6f1594391c3de7161cfcae266242a82aa15e3ce2 (patch)
tree9f9a81becf4d9f05d66394c576a9995018ff9fd0 /audio/esound/files
parentDoorman is a port knocking implementation which allows a server to run (diff)
Update to 0.2.35.
Diffstat (limited to 'audio/esound/files')
-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