aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config.h.post
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-31 23:19:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-31 23:19:04 +0000
commit6f0b0fbe92a133fce77709fc467fc17dde75240f (patch)
tree8654c8795f476bf88c59e942ab992e2c86bbbeb3 /config.h.post
parent196c1479abe077f801972940e1be2153500130fd (diff)
downloadmandoc-6f0b0fbe92a133fce77709fc467fc17dde75240f.tar.gz
mandoc-6f0b0fbe92a133fce77709fc467fc17dde75240f.tar.zst
mandoc-6f0b0fbe92a133fce77709fc467fc17dde75240f.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 9a33671b..ab9d8c6b 100644
--- a/config.h.post
+++ b/config.h.post
@@ -27,12 +27,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;