mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
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 *);
|
char *strcasestr(const char *, const char *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_STRNDUP
|
||||||
|
char *strndup(const char *s, size_t n);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_SETENV
|
#ifndef HAVE_SETENV
|
||||||
int setenv(register const char *name, register const char *value, int rewrite);
|
int setenv(register const char *name, register const char *value, int rewrite);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user