20 lines
557 B
Diff
20 lines
557 B
Diff
|
--- a/examples/uselame.cpp 2006-05-10 19:05:51.000000000 +0100
|
||
|
+++ b/examples/uselame.cpp 2012-04-16 12:57:51.035989196 +0100
|
||
|
@@ -12,6 +12,7 @@
|
||
|
#else
|
||
|
#include <sys/wait.h>
|
||
|
#endif
|
||
|
+#include <unistd.h>
|
||
|
|
||
|
AudioData *loadWaveFile(char *file);
|
||
|
|
||
|
--- a/examples/wavefile.cpp 2006-05-10 19:05:56.000000000 +0100
|
||
|
+++ b/examples/wavefile.cpp 2012-04-16 12:57:37.439463775 +0100
|
||
|
@@ -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;
|