aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/libofa/files/patch-examples_uselame.cpp10
-rw-r--r--audio/libofa/files/patch-examples_wavefile.cpp11
2 files changed, 21 insertions, 0 deletions
diff --git a/audio/libofa/files/patch-examples_uselame.cpp b/audio/libofa/files/patch-examples_uselame.cpp
new file mode 100644
index 000000000000..310a8ae75075
--- /dev/null
+++ b/audio/libofa/files/patch-examples_uselame.cpp
@@ -0,0 +1,10 @@
+--- examples/uselame.cpp.orig 2013-09-12 09:10:31.000000000 +0000
++++ examples/uselame.cpp 2013-09-12 09:10:42.000000000 +0000
+@@ -12,6 +12,7 @@
+ #else
+ #include <sys/wait.h>
+ #endif
++#include <unistd.h>
+
+ AudioData *loadWaveFile(char *file);
+
diff --git a/audio/libofa/files/patch-examples_wavefile.cpp b/audio/libofa/files/patch-examples_wavefile.cpp
new file mode 100644
index 000000000000..41f319082188
--- /dev/null
+++ b/audio/libofa/files/patch-examples_wavefile.cpp
@@ -0,0 +1,11 @@
+--- examples/wavefile.cpp.orig 2013-09-12 08:58:25.000000000 +0000
++++ examples/wavefile.cpp 2013-09-12 08:58:31.000000000 +0000
+@@ -11,6 +11,8 @@
+ #include "io.h"
+ #endif
+ #include <fcntl.h>
++#include <sys/types.h>
++#include <unistd.h>
+
+ static bool readBytes(int fd, unsigned char *buf, int size) {
+ int ct = 0;