diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-31 22:33:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-31 22:33:01 +0300 |
commit | 95eee98d9b137678f76d55e17163a2bc10897981 (patch) | |
tree | 61ec6ba22dc58e4515e4d08c4ec4657bd1368a62 /src | |
parent | aa8288bd7d7d24bb1c5356e6513d90675b65181f (diff) | |
download | manaplus-95eee98d9b137678f76d55e17163a2bc10897981.tar.gz manaplus-95eee98d9b137678f76d55e17163a2bc10897981.tar.bz2 manaplus-95eee98d9b137678f76d55e17163a2bc10897981.tar.xz manaplus-95eee98d9b137678f76d55e17163a2bc10897981.zip |
Possible fix for Curl 7.50
Diffstat (limited to 'src')
-rw-r--r-- | src/net/download.cpp | 2 | ||||
-rw-r--r-- | src/net/download.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp index 69acb6895..b92385076 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -29,8 +29,6 @@ #include "utils/files.h" #include "utils/sdlhelper.h" -#include <curl/curl.h> - #include <zlib.h> #define CURLVERSION_ATLEAST(a, b, c) ((LIBCURL_VERSION_MAJOR > (a)) || \ diff --git a/src/net/download.h b/src/net/download.h index 9ffd76cea..ddceb158f 100644 --- a/src/net/download.h +++ b/src/net/download.h @@ -24,6 +24,8 @@ #include "enums/net/downloadstatus.h" +#include <curl/curl.h> + #include <string> #include <queue> @@ -39,7 +41,6 @@ typedef size_t (*WriteFunction)( void *ptr, size_t size, size_t nmemb, void *stream); struct SDL_Thread; -typedef void CURL; struct curl_httppost; struct curl_slist; |