From 6b9bd96c0635a0ab896a6b37c7bbe2a63ad08962 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 31 May 2001 07:02:13 +0000 Subject: [PATCH] include setup.h _before_ system includes --- lib/strtok.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/strtok.h b/lib/strtok.h index 1c72d8c03..6e7e16774 100644 --- a/lib/strtok.h +++ b/lib/strtok.h @@ -24,21 +24,14 @@ #ifndef _CURL_STRTOK_R_H #define _CURL_STRTOK_R_H -#include #include "setup.h" +#include #ifndef HAVE_STRTOK_R char *Curl_strtok_r(char *s, const char *delim, char **last); #define strtok_r Curl_strtok_r #else #include -/* If your system, such as Solaris 2.7, lacks the strtok_r() prototype in - string.h, then you'll face a bunch of warnings on all instances - where strtok_r() is used. - - There's not much we can do about it. Adding a prototype here screws - everything up on other platforms! :-( -*/ #endif #endif