| 1 | Description: ftbfs with GCC-4.7. (Closes: #667250)
|
| 2 | Author: Matthias Klose <[email protected]>
|
| 3 | Last-Update: 2012-04-17
|
| 4 | Index: libofa-0.9.3/examples/uselame.cpp
|
| 5 | ===================================================================
|
| 6 | |
| 7 | |
| 8 | @@ -11,6 +11,7 @@
|
| 9 | #include "windows.h"
|
| 10 | #else
|
| 11 | #include <sys/wait.h>
|
| 12 | +#include <unistd.h>
|
| 13 | #endif
|
| 14 |
|
| 15 | AudioData *loadWaveFile(char *file);
|
| 16 | Index: libofa-0.9.3/examples/wavefile.cpp
|
| 17 | ===================================================================
|
| 18 | |
| 19 | |
| 20 | @@ -11,6 +11,7 @@
|
| 21 | #include "io.h"
|
| 22 | #endif
|
| 23 | #include <fcntl.h>
|
| 24 | +#include <unistd.h>
|
| 25 |
|
| 26 | static bool readBytes(int fd, unsigned char *buf, int size) {
|
| 27 | int ct = 0;
|