summaryrefslogtreecommitdiffstats
path: root/source/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-10-11 12:30:34 +0000
committerAndrew Tridgell <tridge@samba.org>2005-10-11 12:30:34 +0000
commit29788b5113e4c28502203cb1a5b33662a5afe82d (patch)
tree5520bfaf3367addc2c33bbdb0aa88dfb2b61d9e0 /source/lib/replace/replace.h
parentbe995997200a0c0c53bf9a5ee0bce03ce150743d (diff)
downloadsamba-29788b5113e4c28502203cb1a5b33662a5afe82d.tar.gz
samba-29788b5113e4c28502203cb1a5b33662a5afe82d.tar.xz
samba-29788b5113e4c28502203cb1a5b33662a5afe82d.zip
r10896: added a strcasestr() replacement function
Diffstat (limited to 'source/lib/replace/replace.h')
-rw-r--r--source/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h
index 572113af8cf..e3eef56eeb7 100644
--- a/source/lib/replace/replace.h
+++ b/source/lib/replace/replace.h
@@ -84,6 +84,10 @@ int setenv(const char *name, const char *value, int overwrite);
int rename(const char *zfrom, const char *zto);
#endif
+#ifndef HAVE_STRCASESTR
+char *strcasestr(const char *haystack, const char *needle);
+#endif
+
#ifndef HAVE_FTRUNCATE
int ftruncate(int f,long l);
#endif