summaryrefslogtreecommitdiff
path: root/common/compat.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-10-12 16:57:18 +0000
committerStef Walter <stef@memberwebs.com>2006-10-12 16:57:18 +0000
commit310e1d3b2ef4ebf868020debb3b4bb6190e12367 (patch)
tree0dd3ec9ea68de7c3b5c1ae16ffe1771f2c3f0d8f /common/compat.h
parentf0f9f9b90b4cedd0fb24db012770ec7c95a9cce9 (diff)
Add strcasestr which is missing on solaris.
Diffstat (limited to 'common/compat.h')
-rw-r--r--common/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/compat.h b/common/compat.h
index 44c45e0..89f7fbb 100644
--- a/common/compat.h
+++ b/common/compat.h
@@ -88,6 +88,10 @@ size_t strlcat(char *dst, const char *src, size_t size);
size_t strlcpy(char *dst, const char *src, size_t size);
#endif
+#ifndef HAVE_STRCASESTR
+const char* strcasestr(const char *s, const char *find);
+#endif
+
#ifndef HAVE_SETENV
int setenv(const char* name, const char* value, int overwrite);
#endif