summaryrefslogtreecommitdiff
blob: 6d97d7724df87832d7fdfbb7aa87ff7463c5157e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -up a/examples/uselame.cpp b/examples/uselame.cpp
--- a/examples/uselame.cpp	2012-01-14 09:35:24.343146853 -0600
+++ b/examples/uselame.cpp	2012-01-14 09:35:49.956826634 -0600
@@ -12,6 +12,7 @@
 #else
 #include <sys/wait.h>
 #endif
+#include <unistd.h>
 
 AudioData *loadWaveFile(char *file);
 
diff -up a/examples/wavefile.cpp b/examples/wavefile.cpp
--- a/examples/wavefile.cpp	2012-01-14 09:35:24.344146841 -0600
+++ b/examples/wavefile.cpp	2012-01-14 16:00:54.414981160 -0600
@@ -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;