From 310e1d3b2ef4ebf868020debb3b4bb6190e12367 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 12 Oct 2006 16:57:18 +0000 Subject: Add strcasestr which is missing on solaris. --- common/compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/compat.h') 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 -- cgit v1.2.3