summaryrefslogtreecommitdiff
path: root/audio/csound6/files/patch-InOut_rtalsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/csound6/files/patch-InOut_rtalsa.c')
-rw-r--r--audio/csound6/files/patch-InOut_rtalsa.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/csound6/files/patch-InOut_rtalsa.c b/audio/csound6/files/patch-InOut_rtalsa.c
new file mode 100644
index 000000000000..7b13e67f0a43
--- /dev/null
+++ b/audio/csound6/files/patch-InOut_rtalsa.c
@@ -0,0 +1,27 @@
+--- InOut/rtalsa.c.orig 2015-09-29 11:13:27 UTC
++++ InOut/rtalsa.c
+@@ -23,6 +23,7 @@
+ 02111-1307 USA
+ */
+
++/*
+ #ifndef _ISOC99_SOURCE
+ #define _ISOC99_SOURCE 1
+ #endif
+@@ -32,6 +33,7 @@
+ #ifndef _BSD_SOURCE
+ #define _BSD_SOURCE 1
+ #endif
++*/
+
+ #include "csdl.h"
+
+@@ -50,6 +52,8 @@
+ #include <signal.h>
+ #include <sys/mman.h>
+ #include <sys/resource.h>
++#include <stdlib.h>
++#include <sys/fcntl.h>
+
+
+ #include "soundio.h"