json-glib: update to 1.10.6
[oi-userland.git] / components / library / libofa / patches / 08.fix-ftbfs-gcc4.7.patch
blobad61573578519986731ceba2c8d8fbef84d74527
1 Description: ftbfs with GCC-4.7. (Closes: #667250)
2 Author: Matthias Klose <doko@debian.org>
3 Last-Update: 2012-04-17
4 Index: libofa-0.9.3/examples/uselame.cpp
5 ===================================================================
6 --- libofa-0.9.3.orig/examples/uselame.cpp
7 +++ libofa-0.9.3/examples/uselame.cpp
8 @@ -11,6 +11,7 @@
9 #include "windows.h"
10 #else
11 #include <sys/wait.h>
12 +#include <unistd.h>
13 #endif
15 AudioData *loadWaveFile(char *file);
16 Index: libofa-0.9.3/examples/wavefile.cpp
17 ===================================================================
18 --- libofa-0.9.3.orig/examples/wavefile.cpp
19 +++ libofa-0.9.3/examples/wavefile.cpp
20 @@ -11,6 +11,7 @@
21 #include "io.h"
22 #endif
23 #include <fcntl.h>
24 +#include <unistd.h>
26 static bool readBytes(int fd, unsigned char *buf, int size) {
27 int ct = 0;