aboutsummaryrefslogtreecommitdiff
path: root/pd/src/s_audio_oss.c
diff options
context:
space:
mode:
authorKenneth Peiruza <kpeiruza@users.sourceforge.net>2003-11-10 16:13:11 +0000
committerKenneth Peiruza <kpeiruza@users.sourceforge.net>2003-11-10 16:13:11 +0000
commitb392bf5a377c712e156d90d69c6527289eada64f (patch)
tree5752e0776e696c7664cb9a98a8e41692847ea841 /pd/src/s_audio_oss.c
parent8a2c6d3d86df5076510e02315b354b3194e243e1 (diff)
Patches to integrate FreeBSD
svn path=/trunk/; revision=1177
Diffstat (limited to 'pd/src/s_audio_oss.c')
-rw-r--r--pd/src/s_audio_oss.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/pd/src/s_audio_oss.c b/pd/src/s_audio_oss.c
index b612b458..05d7d26b 100644
--- a/pd/src/s_audio_oss.c
+++ b/pd/src/s_audio_oss.c
@@ -5,7 +5,18 @@
/* this file inputs and outputs audio using the OSS API available on linux. */
+#ifdef __linux__
#include <linux/soundcard.h>
+#endif
+
+#ifdef __FreeBSD__
+#include <sys/soundcard.h>
+#include <sys/mman.h>
+#endif
+
+
+
+
#include "m_pd.h"
#include "s_stuff.h"