From 25275f1c9d5f01a0877d39444e8f90521a598ea0 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 13 Dec 2016 12:54:23 +1100 Subject: Add prototype for strcasestr in compat library. --- openbsd-compat/openbsd-compat.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3