]> granicus.if.org Git - icinga2/commitdiff
Ensure header ordering for win32 mswsock.h 6988/head
authorMarkus Frosch <markus.frosch@icinga.com>
Thu, 25 Apr 2019 09:54:26 +0000 (11:54 +0200)
committerMarkus Frosch <markus.frosch@icinga.com>
Thu, 25 Apr 2019 09:54:26 +0000 (11:54 +0200)
plugins/check_nscp_api.cpp

index f800fccd8f992d76395ac64585aa0a3d34308599..ef43986f41b3812a1e6fbc6baa9cb383777ac0cb 100644 (file)
@@ -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 <boost/program_options.hpp>
 #include <boost/algorithm/string/split.hpp>
 #include <iostream>