mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
If we are providing strndup(), ensure we provide a prototype too.
Andrew Bartlett
This commit is contained in:
parent
c97d3eb162
commit
1096271454
@ -986,6 +986,10 @@ struct smb_ldap_privates;
|
||||
char *strdup(const char *s);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRNDUP
|
||||
char *strndup(const char *s, size_t size);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_MEMMOVE
|
||||
void *memmove(void *dest,const void *src,int size);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user