aboutsummaryrefslogtreecommitdiff
path: root/package/tcl/tcl-strstr.patch
blob: 3bed414cf9db87c4d075c5a1590147bad281d432 (plain)
1
2
3
4
5
6
7
8
9
10
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. */