From 7aed3f6b47242843ea8a2f9c1c32f6769999dfd8 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 11 Aug 2012 18:32:03 +0200 Subject: [PATCH] Build fix (when using the bundled ltdl lib). --- base/application.cpp | 3 +++ base/component.cpp | 3 +++ base/unix.h | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/base/application.cpp b/base/application.cpp index f42f573cd..e4ab5234b 100644 --- a/base/application.cpp +++ b/base/application.cpp @@ -18,6 +18,9 @@ ******************************************************************************/ #include "i2-base.h" +#ifndef _WIN32 +# include +#endif /* _WIN32 */ using namespace icinga; diff --git a/base/component.cpp b/base/component.cpp index a22a094c6..c28847d84 100644 --- a/base/component.cpp +++ b/base/component.cpp @@ -18,6 +18,9 @@ ******************************************************************************/ #include "i2-base.h" +#ifndef _WIN32 +# include +#endif /* _WIN32 */ using namespace icinga; diff --git a/base/unix.h b/base/unix.h index e463afe15..0e790f2b2 100644 --- a/base/unix.h +++ b/base/unix.h @@ -35,7 +35,6 @@ #include #include #include -#include void Sleep(unsigned long milliseconds); -- 2.50.1