CURL_STATICLIB macro cleanup

Also move includes from headers. CURL is just void.
This commit is contained in:
Nekotekina 2020-03-22 14:10:57 +03:00
parent e606130262
commit 5261886449
4 changed files with 14 additions and 10 deletions

View file

@ -31,6 +31,11 @@
#include <sys/stat.h>
#endif
#ifndef CURL_STATICLIB
#define CURL_STATICLIB
#endif
#include <curl/curl.h>
LOG_CHANNEL(update_log, "UPDATER");
size_t curl_write_cb(char* ptr, size_t /*size*/, size_t nmemb, void* userdata)