summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
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 865aaee53..957213577 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -109,6 +109,10 @@ size_t strlcat(char *dst, const char *src, size_t siz);
109char *strcasestr(const char *, const char *); 109char *strcasestr(const char *, const char *);
110#endif 110#endif
111 111
112#ifndef HAVE_STRNDUP
113char *strndup(const char *s, size_t n);
114#endif
115
112#ifndef HAVE_SETENV 116#ifndef HAVE_SETENV
113int setenv(register const char *name, register const char *value, int rewrite); 117int setenv(register const char *name, register const char *value, int rewrite);
114#endif 118#endif