From 0157b72bbc449be23e52f680a6275180f185b9fb Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 29 Jul 2016 19:22:26 +0200 Subject: [PATCH] Fix typedef for CURL --- Source/Core/Common/Analytics.h | 5 +++++ 1 file changed, 5 insertions(+) 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 #include #include +#include #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