about summary refs log tree commit diff
path: root/src/portab/portab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/portab/portab.h')
-rw-r--r--src/portab/portab.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/portab/portab.h b/src/portab/portab.h
index 2a133efc..83e11313 100644
--- a/src/portab/portab.h
+++ b/src/portab/portab.h
@@ -148,6 +148,10 @@ extern size_t strlcpy PARAMS(( char *dst, const char *src, size_t size ));
 extern char * strdup PARAMS(( const char *s ));
 #endif
 
+#ifndef HAVE_STRTOK_R
+extern char * strtok_r PARAMS((char *str, const char *delim, char **saveptr));
+#endif
+
 #ifndef HAVE_VSNPRINTF
 #include <stdarg.h>
 extern int vsnprintf PARAMS(( char *str, size_t count, const char *fmt, va_list args ));