forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
319 B
C++
11 lines
319 B
C++
--- examples/wavefile.cpp.orig 2013-09-12 08:58:25.000000000 +0000
|
|
+++ examples/wavefile.cpp 2013-09-12 08:58:31.000000000 +0000
|
|
@@ -11,6 +11,8 @@
|
|
#include "io.h"
|
|
#endif
|
|
#include <fcntl.h>
|
|
+#include <sys/types.h>
|
|
+#include <unistd.h>
|
|
|
|
static bool readBytes(int fd, unsigned char *buf, int size) {
|
|
int ct = 0;
|