diff options
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; |