Add prototype for compat strndup.(bz#3032).

This commit is contained in:
Darren Tucker 2019-07-06 12:54:43 +10:00
parent 01a1e21cd5
commit 2753521e89

View File

@ -109,6 +109,10 @@ size_t strlcat(char *dst, const char *src, size_t siz);
char *strcasestr(const char *, const char *);
#endif
#ifndef HAVE_STRNDUP
char *strndup(const char *s, size_t n);
#endif
#ifndef HAVE_SETENV
int setenv(register const char *name, register const char *value, int rewrite);
#endif