freebsd-ports/audio/libofa/files/patch-examples_wavefile.cpp
Renato Botelho 22b5a587fe UNBREAK: Fix build on 4.x
PR:		ports/100768
Submitted by:	Sven Berkvens-Matthijsse <sven at ilse.net>
Approved by:	Alexander Botero-Lowry <alex at foxybanana.com> (maintainer)
2006-07-24 17:24:32 +00:00

10 lines
273 B
C++

--- examples/wavefile.cpp.orig Mon Jul 24 11:13:26 2006
+++ examples/wavefile.cpp Mon Jul 24 11:13:05 2006
@@ -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;