packages/lang/tcl/patches/002-strstr.patch
florian fa7dcc0bf7 Add tcl package from #3980
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 23:07:38 +00:00

14 lines
352 B
Diff

--- tcl8.4.12/compat/strstr.c 2005-04-12 20:28:56.000000000 +0200
+++ tcl/compat/strstr.c 2005-12-19 13:35:52.087181048 +0100
@@ -37,7 +37,9 @@
*
*----------------------------------------------------------------------
*/
-
+#ifndef NULL
+#define NULL
+#endif
char *
strstr(string, substring)
register char *string; /* String to search. */