summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-10-11 12:30:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:41 -0500
commit1584f64920431d15276dd44c59fc35dc5506c0e7 (patch)
tree871d90b8f19bd811dc79ae221f73fae39300371f /source4/lib/replace/replace.h
parent16279c67702671c3b5a620fa9372fa77a67eaaf5 (diff)
downloadsamba-1584f64920431d15276dd44c59fc35dc5506c0e7.tar.gz
samba-1584f64920431d15276dd44c59fc35dc5506c0e7.tar.bz2
samba-1584f64920431d15276dd44c59fc35dc5506c0e7.zip
r10896: added a strcasestr() replacement function
(This used to be commit 4483d275e12006e5acc72ae143c0a01da01bd00d)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 572113af8c..e3eef56eeb 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/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