summarylogtreecommitdiffstats
path: root/10160.patch
blob: d64296ead824737a630197c89b3b12a042da36f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/xbmc/filesystem/CurlFile.h b/xbmc/filesystem/CurlFile.h
index b4f5046..81a5ae5 100644
--- a/xbmc/filesystem/CurlFile.h
+++ b/xbmc/filesystem/CurlFile.h
@@ -24,11 +24,17 @@
 #include <map>
 #include <string>
 #include "utils/HttpHeader.h"
+#include <curl/curlver.h>
 
 namespace XCURL
 {
+#if LIBCURL_VERSION_NUM >= 0x073200
+  typedef struct Curl_easy CURL_HANDLE;
+  typedef struct Curl_multi CURLM;
+#else
   typedef void CURL_HANDLE;
   typedef void CURLM;
+#endif
   struct curl_slist;
 }