From 9df73edf21694f640f489f84755d19ea5ca9ddaa Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 31 Dec 2013 23:03:47 +0000 Subject: Provide strcasestr(3) and strsep(3) for Solaris 10 compat; reported missing by Matthias Scheler via wiz@. --- config.h.post | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.h.post') diff --git a/config.h.post b/config.h.post index d04dac99..0a700426 100644 --- a/config.h.post +++ b/config.h.post @@ -15,12 +15,18 @@ # endif #endif +#ifndef HAVE_STRCASESTR +extern char *strcasestr(const char *, const char *); +#endif #ifndef HAVE_STRLCAT extern size_t strlcat(char *, const char *, size_t); #endif #ifndef HAVE_STRLCPY extern size_t strlcpy(char *, const char *, size_t); #endif +#ifndef HAVE_STRSEP +extern char *strsep(char **, const char *); +#endif #ifndef HAVE_GETSUBOPT extern int getsubopt(char **, char * const *, char **); extern char *suboptarg; -- cgit v1.2.3-56-ge451