added some ifdef to make senf compile against ulibc if its build final
[senf.git] / senf / Utils / Exception.cc
index caa13c4..1b3763c 100644 (file)
@@ -27,7 +27,9 @@
 //#include "Exception.ih"
 
 // Custom includes
-#include <execinfo.h>
+#ifdef SENF_DEBUG
+   #include <execinfo.h>
+#endif
 #include <sstream>
 #include <senf/config.hh>
 #include "Backtrace.hh"