summaryrefslogtreecommitdiff
path: root/package/tcl/tcl-strstr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcl/tcl-strstr.patch')
-rw-r--r--package/tcl/tcl-strstr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/tcl/tcl-strstr.patch b/package/tcl/tcl-strstr.patch
new file mode 100644
index 000000000..3bed414cf
--- /dev/null
+++ b/package/tcl/tcl-strstr.patch
@@ -0,0 +1,11 @@
+--- tcl8.4.9/compat/strstr.c 2002-01-26 03:10:08.000000000 +0200
++++ tcl8.4.9/compat/strstr.c 2005-05-30 06:53:40.000000000 +0300
+@@ -33,6 +33,8 @@
+ *----------------------------------------------------------------------
+ */
+
++#include <unistd.h>
++
+ char *
+ strstr(string, substring)
+ register char *string; /* String to search. */