opnsense-ports/audio/libofa/files/patch-examples_wavefile.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

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;