git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
236adfd
)
If we are providing strndup(), ensure we provide a prototype too.
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 25 Jan 2004 01:02:39 +0000
(
01:02
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sun, 25 Jan 2004 01:02:39 +0000
(
01:02
+0000)
Andrew Bartlett
(This used to be commit
109627145463fc4c00b8f6664e3f2e48e0305d56
)
source3/include/includes.h
patch
|
blob
|
history
diff --git
a/source3/include/includes.h
b/source3/include/includes.h
index 638648dc44d659cf1a5ec5f56283b9f131174b01..7f5c111682ed933ea499276a664384acfd45dff8 100644
(file)
--- a/
source3/include/includes.h
+++ b/
source3/include/includes.h
@@
-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