curl: Fix issue with printf checks in newer curl versions
Newer curl versions (as used on macOS via Homebrew) add attributes like __attribute__ ((format(printf, a, b))) to their `curl_*printf*` functions, which fails if we redefine `printf` as e.g. `builtin_printf` (pulled in via library.h). We could disable these checks via CURL_NO_FMT_CHECKS, but reordering the headers should do the trick as well.
This commit is contained in:
@@ -15,13 +15,13 @@
|
||||
* for more details.
|
||||
*/
|
||||
|
||||
#include "curl_plugin.h"
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/debug.h>
|
||||
#include "curl_fetcher.h"
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include "curl_plugin.h"
|
||||
#include "curl_fetcher.h"
|
||||
|
||||
typedef struct private_curl_plugin_t private_curl_plugin_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user