summaryrefslogtreecommitdiff
path: root/lib/strtok.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-30 11:06:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-30 11:06:56 +0000
commit870bacd6897b62666aeaaa8b8b2c937529abac90 (patch)
tree99fb74e71f6a5f141bae5511bfb0ef969555560e /lib/strtok.h
parentd9f39cc99b7e72cba957b6190913ca7fb5405e93 (diff)
downloadcurl-870bacd6897b62666aeaaa8b8b2c937529abac90.tar.gz
include strtok.h to get the prototype
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