diff options
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 4e7913ea38..1867aeda12 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -991,6 +991,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 |