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