| 1 |
diff -up libofa-0.9.3/examples/uselame.cpp.gcc47 libofa-0.9.3/examples/uselame.cpp
|
| 2 |
--- libofa-0.9.3/examples/uselame.cpp.gcc47 2012-01-14 09:35:24.343146853 -0600
|
| 3 |
+++ libofa-0.9.3/examples/uselame.cpp 2012-01-14 09:35:49.956826634 -0600
|
| 4 |
@@ -12,6 +12,7 @@
|
| 5 |
#else
|
| 6 |
#include <sys/wait.h>
|
| 7 |
#endif
|
| 8 |
+#include <unistd.h>
|
| 9 |
|
| 10 |
AudioData *loadWaveFile(char *file);
|
| 11 |
|
| 12 |
diff -up libofa-0.9.3/examples/wavefile.cpp.gcc47 libofa-0.9.3/examples/wavefile.cpp
|
| 13 |
--- libofa-0.9.3/examples/wavefile.cpp.gcc47 2012-01-14 09:35:24.344146841 -0600
|
| 14 |
+++ libofa-0.9.3/examples/wavefile.cpp 2012-01-14 16:00:54.414981160 -0600
|
| 15 |
@@ -11,6 +11,7 @@
|
| 16 |
#include "io.h"
|
| 17 |
#endif
|
| 18 |
#include <fcntl.h>
|
| 19 |
+#include <unistd.h>
|
| 20 |
|
| 21 |
static bool readBytes(int fd, unsigned char *buf, int size) {
|
| 22 |
int ct = 0;
|