diff options
author | kennykb <kennykb@noemail.net> | 2005-04-12 18:28:50 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2005-04-12 18:28:50 (GMT) |
commit | e86583a9d88ef7ef8a79695c14233e29c31a1120 (patch) | |
tree | f45161dfc0448dcd7f2be8884dfe8e618b02754a /compat/strstr.c | |
parent | 5764ad495275dabf6c6ccc9ab08b7f5e1fba36f7 (diff) | |
download | tcl-e86583a9d88ef7ef8a79695c14233e29c31a1120.zip tcl-e86583a9d88ef7ef8a79695c14233e29c31a1120.tar.gz tcl-e86583a9d88ef7ef8a79695c14233e29c31a1120.tar.bz2 |
added definition of NULL to strstr.c for Bug 1175161
FossilOrigin-Name: ccf59bad268f428f45382113bd9d195699406d4f
Diffstat (limited to 'compat/strstr.c')
-rw-r--r-- | compat/strstr.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compat/strstr.c b/compat/strstr.c index c83c209..d6f5cab 100644 --- a/compat/strstr.c +++ b/compat/strstr.c @@ -9,9 +9,14 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: strstr.c,v 1.3 2002/01/26 01:10:08 dgp Exp $ + * RCS: @(#) $Id: strstr.c,v 1.3.2.1 2005/04/12 18:28:56 kennykb Exp $ */ +#include <tcl.h> +#ifndef NULL +#define NULL 0 +#endif + /* *---------------------------------------------------------------------- * |