From: Gunnar Beutner Date: Sat, 11 Aug 2012 16:32:03 +0000 (+0200) Subject: Build fix (when using the bundled ltdl lib). X-Git-Tag: v0.0.1~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7aed3f6b47242843ea8a2f9c1c32f6769999dfd8;p=icinga2 Build fix (when using the bundled ltdl lib). --- 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);