summaryrefslogtreecommitdiff
blob: b6f448163aac8fd07c5a45aecc35447a601798b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/modules/contrib/backtrace.c b/modules/contrib/backtrace.c
index 8c4eeb2..064e88e 100644
--- a/modules/contrib/backtrace.c
+++ b/modules/contrib/backtrace.c
@@ -1,6 +1,6 @@
 #include "atheme-compat.h"
 
-#if defined( __linux__) || defined(__Linux__)
+#if (defined( __linux__) || defined(__Linux__)) && defined(__GLIBC__)
 #include <execinfo.h>
 
 DECLARE_MODULE_V1