summaryrefslogtreecommitdiff
path: root/audio/libofa/files/patch-examples_wavefile.cpp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-07-24 17:24:32 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-07-24 17:24:32 +0000
commit22b5a587fee35c82f91ff5cea3a535afaed823b9 (patch)
tree26ee75baa1b8dccb7afac4b22e5411c915a6e381 /audio/libofa/files/patch-examples_wavefile.cpp
parent- Remove bad site: (diff)
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)
Diffstat (limited to 'audio/libofa/files/patch-examples_wavefile.cpp')
-rw-r--r--audio/libofa/files/patch-examples_wavefile.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/libofa/files/patch-examples_wavefile.cpp b/audio/libofa/files/patch-examples_wavefile.cpp
new file mode 100644
index 000000000000..41cf7176a743
--- /dev/null
+++ b/audio/libofa/files/patch-examples_wavefile.cpp
@@ -0,0 +1,10 @@
+--- 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;