summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-31 22:33:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-31 22:33:01 +0300
commit95eee98d9b137678f76d55e17163a2bc10897981 (patch)
tree61ec6ba22dc58e4515e4d08c4ec4657bd1368a62 /src
parentaa8288bd7d7d24bb1c5356e6513d90675b65181f (diff)
downloadplus-95eee98d9b137678f76d55e17163a2bc10897981.tar.gz
plus-95eee98d9b137678f76d55e17163a2bc10897981.tar.bz2
plus-95eee98d9b137678f76d55e17163a2bc10897981.tar.xz
plus-95eee98d9b137678f76d55e17163a2bc10897981.zip
Possible fix for Curl 7.50
Diffstat (limited to 'src')
-rw-r--r--src/net/download.cpp2
-rw-r--r--src/net/download.h3
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;