From 9c3cf9731cce21a6d3c23cbe0f39cbd823def75f Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Thu, 25 Apr 2019 11:54:26 +0200 Subject: [PATCH] Ensure header ordering for win32 mswsock.h --- plugins/check_nscp_api.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/check_nscp_api.cpp b/plugins/check_nscp_api.cpp index f800fccd8..ef43986f4 100644 --- a/plugins/check_nscp_api.cpp +++ b/plugins/check_nscp_api.cpp @@ -2,15 +2,17 @@ #define VERSION "1.0.1" -#include "remote/httpclientconnection.hpp" -#include "remote/httprequest.hpp" -#include "remote/url-characters.hpp" +// ensure to include base first +#include "base/i2-base.hpp" #include "base/application.hpp" #include "base/json.hpp" #include "base/string.hpp" #include "base/logger.hpp" #include "base/exception.hpp" #include "base/utility.hpp" +#include "remote/httpclientconnection.hpp" +#include "remote/httprequest.hpp" +#include "remote/url-characters.hpp" #include #include #include -- 2.40.0