Add prototype for compat strndup.(bz#3032).
This commit is contained in:
parent
01a1e21cd5
commit
2753521e89
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue