WIN32: Fix libcurl redefining ARRAYSIZE

libcurl pulls in Windows headers, so let's include it first to avoid clashing with common headers
This commit is contained in:
SupSuper 2018-12-16 23:02:06 +00:00 committed by Filippos Karapetis
parent d0512db25c
commit 272d4105b2
11 changed files with 11 additions and 11 deletions

View file

@ -22,6 +22,7 @@
#define FORBIDDEN_SYMBOL_ALLOW_ALL
#include <curl/curl.h>
#include "backends/cloud/dropbox/dropboxstorage.h"
#include "backends/cloud/dropbox/dropboxcreatedirectoryrequest.h"
#include "backends/cloud/dropbox/dropboxinforequest.h"
@ -33,7 +34,6 @@
#include "common/config-manager.h"
#include "common/debug.h"
#include "common/json.h"
#include <curl/curl.h>
#ifdef ENABLE_RELEASE
#include "dists/clouds/cloud_keys.h"