summaryrefslogtreecommitdiff
path: root/lib/strtok.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-31 07:02:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-31 07:02:13 +0000
commit6b9bd96c0635a0ab896a6b37c7bbe2a63ad08962 (patch)
tree7ebaec787a2240d4eea9ed663173d5e58760a06b /lib/strtok.h
parent6532f737ebdff156afe6e9271fea512fc0dbbf12 (diff)
downloadcurl-6b9bd96c0635a0ab896a6b37c7bbe2a63ad08962.tar.gz
include setup.h _before_ system includes
Diffstat (limited to 'lib/strtok.h')
-rw-r--r--lib/strtok.h9
1 files changed, 1 insertions, 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 <stddef.h>
#include "setup.h"
+#include <stddef.h>
#ifndef HAVE_STRTOK_R
char *Curl_strtok_r(char *s, const char *delim, char **last);
#define strtok_r Curl_strtok_r
#else
#include <string.h>
-/* 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