summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-04-24 04:09:37 +0000
committerAndrew Tridgell <tridge@samba.org>2002-04-24 04:09:37 +0000
commit27173b205f05aebd9226fa43fc40424bf8e79a72 (patch)
treeb16633f1a00d0dc36a20149316d3dca1666b9a65 /source3/include/includes.h
parent4547fde9f5a2ab1445ad273b53a83cdaccb23be4 (diff)
downloadsamba-27173b205f05aebd9226fa43fc40424bf8e79a72.tar.gz
samba-27173b205f05aebd9226fa43fc40424bf8e79a72.tar.bz2
samba-27173b205f05aebd9226fa43fc40424bf8e79a72.zip
prototypes for some systems that don't have them
(This used to be commit 2dde9f711979c04cd02107447395a55307f7a30a)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1dfebcea78..becf7e5e39 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -943,6 +943,14 @@ size_t strlcat(char *d, const char *s, size_t bufsize);
int ftruncate(int f,long l);
#endif
+#ifndef HAVE_STRNDUP
+char *strndup(const char *s, size_t n);
+#endif
+
+#ifndef HAVE_STRNLEN
+size_t strnlen(const char *s, size_t n);
+#endif
+
#ifndef HAVE_STRTOUL
unsigned long strtoul(const char *nptr, char **endptr, int base);
#endif