aboutsummaryrefslogtreecommitdiff
path: root/lib/strtok.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strtok.h')
-rw-r--r--lib/strtok.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/strtok.h b/lib/strtok.h
index 023b051c7..d7ecdf1d3 100644
--- a/lib/strtok.h
+++ b/lib/strtok.h
@@ -30,6 +30,8 @@
#ifndef HAVE_STRTOK_R
char *Curl_strtok_r(char *s, const char *delim, char **last);
#define strtok_r Curl_strtok_r
+#else
+extern char *strtok_r(char *s1, const char *s2, char **lasts);
#endif
#endif