diff --git a/lib/base/process-unix.cpp b/lib/base/process-unix.cpp index 17eb7e8f8..f2ad37914 100644 --- a/lib/base/process-unix.cpp +++ b/lib/base/process-unix.cpp @@ -19,10 +19,7 @@ #ifndef _WIN32 #include "i2-base.h" - -#ifndef _MSC_VER #include -#endif /* _MSC_VER */ using namespace icinga; diff --git a/lib/base/process-windows.cpp b/lib/base/process-windows.cpp index 954644b71..d6db2df03 100644 --- a/lib/base/process-windows.cpp +++ b/lib/base/process-windows.cpp @@ -20,10 +20,6 @@ #ifdef _WIN32 #include "i2-base.h" -#ifndef _MSC_VER -#include -#endif /* _MSC_VER */ - using namespace icinga; void Process::CreateWorkers(void) diff --git a/lib/base/process.cpp b/lib/base/process.cpp index 3ac71fb53..f49a05cfb 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -19,10 +19,6 @@ #include "i2-base.h" -#ifndef _MSC_VER -#include -#endif /* _MSC_VER */ - using namespace icinga; bool Process::m_WorkersCreated = false; @@ -42,7 +38,7 @@ Process::Process(const vector& arguments, const Dictionary::Ptr& extraEn #ifndef _WIN32 m_FD = -1; -#endif /* _MSC_VER */ +#endif /* _WIN32 */ } vector Process::ParseCommand(const String& command)