curl_setup: include curl.h after platform setup headers
The platform setup headers might set definitions required for the includes in curl.h. Ref: https://github.com/curl/curl/pull/9375#discussion_r956998269 Closes https://github.com/curl/curl/pull/9453
This commit is contained in:
parent
ff021cb216
commit
4a7c10c6cc
@ -158,8 +158,6 @@
|
||||
/* please, do it beyond the point further indicated in this file. */
|
||||
/* ================================================================ */
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
/*
|
||||
* Disable other protocols when http is the only one desired.
|
||||
*/
|
||||
@ -219,7 +217,7 @@
|
||||
|
||||
/* ================================================================ */
|
||||
/* No system header file shall be included in this file before this */
|
||||
/* point. The only allowed ones are those included from curl/system.h */
|
||||
/* point. */
|
||||
/* ================================================================ */
|
||||
|
||||
/*
|
||||
@ -246,6 +244,8 @@
|
||||
# include "setup-win32.h"
|
||||
#endif
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
/*
|
||||
* Use getaddrinfo to resolve the IPv4 address literal. If the current network
|
||||
* interface doesn't support IPv4, but supports IPv6, NAT64, and DNS64,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user