mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
include strtok.h to get the prototype
This commit is contained in:
parent
d9f39cc99b
commit
870bacd689
@ -86,6 +86,7 @@ Example set of cookies:
|
||||
#include "cookie.h"
|
||||
#include "getdate.h"
|
||||
#include "strequal.h"
|
||||
#include "strtok.h"
|
||||
|
||||
/* The last #include file should be: */
|
||||
#ifdef MALLOCDEBUG
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "strequal.h"
|
||||
#include "strtok.h"
|
||||
|
||||
/* The last #include file should be: */
|
||||
#ifdef MALLOCDEBUG
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user