]> granicus.if.org Git - icinga2/commitdiff
Build fix for Windows.
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 27 Sep 2012 08:14:45 +0000 (10:14 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 27 Sep 2012 08:14:45 +0000 (10:14 +0200)
icinga-app/icinga.cpp

index fd4cbeba3e17a0572805b2574338cdbbc4fae312..3b9475f5a71e48fe3bccc88b4df72059eb2d2707 100644 (file)
@@ -18,7 +18,9 @@
  ******************************************************************************/
 
 #include <i2-icinga.h>
-#include <execinfo.h>
+#ifdef HAVE_BACKTRACE_SYMBOLS
+#      include <execinfo.h>
+#endif /* HAVE_BACKTRACE_SYMBOLS */
 
 #ifndef _WIN32
 #      include "icinga-version.h"