summaryrefslogtreecommitdiff
path: root/audio/tosha/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tosha/patches/patch-ah')
-rw-r--r--audio/tosha/patches/patch-ah14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/tosha/patches/patch-ah b/audio/tosha/patches/patch-ah
new file mode 100644
index 00000000000..8257294d009
--- /dev/null
+++ b/audio/tosha/patches/patch-ah
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1 2007/10/17 21:49:17 rillig Exp $
+
+--- utils.h.orig 1997-05-21 00:13:22.000000000 +0000
++++ utils.h 2007-10-17 21:47:24.000000000 +0000
+@@ -59,7 +59,9 @@ void *tmalloc (size_t size);
+ * allocated.
+ */
+
++#if !defined(__NetBSD__)
+ char *strndup (char *src, int num);
++#endif
+ /*
+ * Like strdup(), but limits the string length to at most
+ * <num> characters (not counting the terminating zero).