From aa01252bb35a6e13d0050efc1b3ccb9a80a827a6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 25 May 2006 13:23:24 +0000 Subject: r15882: I forgot to add in this prototype for strtok_r() (This used to be commit 971cead2ad66fca55a32639090d97b8186c1dae7) --- source4/lib/replace/replace.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h index 62adc1e5d8..7a1c4b5ce7 100644 --- a/source4/lib/replace/replace.h +++ b/source4/lib/replace/replace.h @@ -96,6 +96,10 @@ int rename(const char *zfrom, const char *zto); char *strcasestr(const char *haystack, const char *needle); #endif +#ifndef HAVE_STRTOK_R +char *strtok_r(char *s, const char *delim, char **save_ptr); +#endif + #ifndef HAVE_FTRUNCATE int ftruncate(int f,long l); #endif -- cgit