]> granicus.if.org Git - icinga2/commitdiff
Build fix (when using the bundled ltdl lib).
authorGunnar Beutner <gunnar@beutner.name>
Sat, 11 Aug 2012 16:32:03 +0000 (18:32 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Sat, 11 Aug 2012 16:32:03 +0000 (18:32 +0200)
base/application.cpp
base/component.cpp
base/unix.h

index f42f573cd8acfbab9c7c972a5c64388e93965783..e4ab5234bbb0d5259112a1cfa748494f8ec6753e 100644 (file)
@@ -18,6 +18,9 @@
  ******************************************************************************/
 
 #include "i2-base.h"
+#ifndef _WIN32
+#      include <ltdl.h>
+#endif /* _WIN32 */
 
 using namespace icinga;
 
index a22a094c6ebacbc92486f1ee062537477c12d1ef..c28847d84a9729d08b8ee4e7d5d19f2130b42adc 100644 (file)
@@ -18,6 +18,9 @@
  ******************************************************************************/
 
 #include "i2-base.h"
+#ifndef _WIN32
+#      include <ltdl.h>
+#endif /* _WIN32 */
 
 using namespace icinga;
 
index e463afe153ce7482f57865472ca0680d155e03d6..0e790f2b2b6060228dff5ba122dfb61f9120f2bc 100644 (file)
@@ -35,7 +35,6 @@
 #include <libgen.h>
 #include <syslog.h>
 #include <sys/file.h>
-#include <ltdl.h>
 
 void Sleep(unsigned long milliseconds);