summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-12-13 12:54:23 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-12-13 12:54:23 +1100
commit25275f1c9d5f01a0877d39444e8f90521a598ea0 (patch)
treef6e47e1546bd487d8ce58ac7fa36c8ebf399cfc2
parentafec07732aa2985142f3e0b9a01eb6391f523dec (diff)
Add prototype for strcasestr in compat library.
-rw-r--r--openbsd-compat/openbsd-compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index 2e56203e..f02dec63 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -94,6 +94,10 @@ size_t strlcpy(char *dst, const char *src, size_t siz);
size_t strlcat(char *dst, const char *src, size_t siz);
#endif
+#ifndef HAVE_STRCASESTR
+char *strcasestr(const char *, const char *);
+#endif
+
#ifndef HAVE_SETENV
int setenv(register const char *name, register const char *value, int rewrite);
#endif