diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-12-13 12:54:23 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-12-13 12:54:23 +1100 |
commit | 25275f1c9d5f01a0877d39444e8f90521a598ea0 (patch) | |
tree | f6e47e1546bd487d8ce58ac7fa36c8ebf399cfc2 /openbsd-compat | |
parent | afec07732aa2985142f3e0b9a01eb6391f523dec (diff) |
Add prototype for strcasestr in compat library.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 4 |
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 |