mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
curl_setup.h: include stdint.h earlier
To have it included by the time checking for `SIZE_MAX` and `SSIZE_MAX`.
Ref: 93f333c18f #18426 #18406
Closes #18430
This commit is contained in:
parent
fa9151b41a
commit
598078dcf8
@ -475,6 +475,10 @@
|
||||
#include <curl/stdcheaders.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_STDINT_H) || defined(USE_WOLFSSL)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef HAVE_IO_H
|
||||
# include <io.h>
|
||||
|
||||
@ -63,10 +63,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_STDINT_H) || defined(USE_WOLFSSL)
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
/* Macro to strip 'const' without triggering a compiler warning.
|
||||
Use it for APIs that do not or cannot support the const qualifier. */
|
||||
#ifdef HAVE_STDINT_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user