aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config.h.post
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-31 23:03:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-31 23:03:47 +0000
commit9df73edf21694f640f489f84755d19ea5ca9ddaa (patch)
tree5f24336d2f3e26dd6c8ed3c3f2c38334f3176952 /config.h.post
parent310ed617af04919775625b014c2aa960f4be781d (diff)
downloadmandoc-9df73edf21694f640f489f84755d19ea5ca9ddaa.tar.gz
mandoc-9df73edf21694f640f489f84755d19ea5ca9ddaa.tar.zst
mandoc-9df73edf21694f640f489f84755d19ea5ca9ddaa.zip
Provide strcasestr(3) and strsep(3) for Solaris 10 compat;
reported missing by Matthias Scheler <tron at NetBSD> via wiz@.
Diffstat (limited to 'config.h.post')
-rw-r--r--config.h.post6
1 files changed, 6 insertions, 0 deletions
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;