]> granicus.if.org Git - icinga2/commitdiff
Build fix for OS X
authorGunnar Beutner <gunnar@beutner.name>
Tue, 9 Sep 2014 14:43:21 +0000 (16:43 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 9 Sep 2014 14:43:21 +0000 (16:43 +0200)
tools/mkclass/classcompiler.cpp

index 203e90f803cd4cbb26a90d80de254380e66e81e1..dbe888e161e58b71d72fed1a211fcda3a26c9802 100644 (file)
@@ -24,6 +24,9 @@
 #include <map>
 #include <vector>
 #include <cstring>
+#ifndef _WIN32
+#include <libgen.h>
+#endif /* _WIN32 */
 
 using namespace icinga;