summaryrefslogtreecommitdiff
path: root/audio/libspiff/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libspiff/patches/patch-aa')
-rw-r--r--audio/libspiff/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/libspiff/patches/patch-aa b/audio/libspiff/patches/patch-aa
new file mode 100644
index 00000000000..cc96e0a90a4
--- /dev/null
+++ b/audio/libspiff/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2009/03/11 14:31:20 hasso Exp $
+
+--- examples/read/read.cpp.orig 2009-03-11 15:29:44 +0200
++++ examples/read/read.cpp 2009-03-11 15:35:35 +0200
+@@ -56,6 +56,9 @@
+ # define PORT_GETCWD _getcwd
+ # endif
+ #else
++extern "C" {
++#include <unistd.h>
++}
+ # define PORT_PATH_MAX PATH_MAX
+ # define DIR_SEPERATOR '/'
+ # define uriFilenameToUriString uriUnixFilenameToUriStringA