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/openbsd-compat.h | |
parent | afec07732aa2985142f3e0b9a01eb6391f523dec (diff) |
Add prototype for strcasestr in compat library.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-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 2e56203e1..f02dec63e 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); | |||
94 | size_t strlcat(char *dst, const char *src, size_t siz); | 94 | size_t strlcat(char *dst, const char *src, size_t siz); |
95 | #endif | 95 | #endif |
96 | 96 | ||
97 | #ifndef HAVE_STRCASESTR | ||
98 | char *strcasestr(const char *, const char *); | ||
99 | #endif | ||
100 | |||
97 | #ifndef HAVE_SETENV | 101 | #ifndef HAVE_SETENV |
98 | int setenv(register const char *name, register const char *value, int rewrite); | 102 | int setenv(register const char *name, register const char *value, int rewrite); |
99 | #endif | 103 | #endif |