blob: eb4b4ca20cfab540080a89e25e2397349f1eb027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff -ru libofa-0.9.3.orig/examples/uselame.cpp libofa-0.9.3/examples/uselame.cpp
--- libofa-0.9.3.orig/examples/uselame.cpp 2012-04-18 19:32:44.176037357 +0200
+++ libofa-0.9.3/examples/uselame.cpp 2012-04-18 19:33:03.052805199 +0200
@@ -12,6 +12,7 @@
#else
#include <sys/wait.h>
#endif
+#include <unistd.h>
AudioData *loadWaveFile(char *file);
diff -ru libofa-0.9.3.orig/examples/wavefile.cpp libofa-0.9.3/examples/wavefile.cpp
--- libofa-0.9.3.orig/examples/wavefile.cpp 2012-04-18 19:32:44.176037357 +0200
+++ libofa-0.9.3/examples/wavefile.cpp 2012-04-18 19:37:38.123467239 +0200
@@ -11,6 +11,7 @@
#include "io.h"
#endif
#include <fcntl.h>
+#include <unistd.h>
static bool readBytes(int fd, unsigned char *buf, int size) {
int ct = 0;
|