summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Analytics.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Analytics.h')
-rw-r--r--Source/Core/Common/Analytics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/Analytics.h b/Source/Core/Common/Analytics.h
index e656d4fd4c..45ff2698f5 100644
--- a/Source/Core/Common/Analytics.h
+++ b/Source/Core/Common/Analytics.h
@@ -10,13 +10,18 @@
#include <thread>
#include <utility>
#include <vector>
+#include <curl/curlver.h>
#include "Common/CommonTypes.h"
#include "Common/Event.h"
#include "Common/FifoQueue.h"
#include "Common/Flag.h"
+#if LIBCURL_VERSION_MAJOR >= 7 && LIBCURL_VERSION_MINOR >= 50
+typedef struct Curl_easy CURL;
+#else
typedef void CURL;
+#endif
// Utilities for analytics reporting in Dolphin. This reporting is designed to
// provide anonymous data about how well Dolphin performs in the wild. It also