diff --git src/main.cpp src/main.cpp
--- src/main.cpp
+++ src/main.cpp
@@ -5,7 +5,9 @@
 #include <sys/time.h>
 #include <signal.h>
 #if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__))
-#include <execinfo.h>
+	#if defined(__GLIBC__)
+	# include <execinfo.h>
+	#endif
 #include <sys/resource.h>
 #endif
 #include <stddef.h>
