18 lines
458 B
Diff
18 lines
458 B
Diff
Backported from
|
|
https://github.com/robertdavidgraham/masscan/commit/8e58f7caf78c1d3e8e042dae72d4017cf5a1af86
|
|
which was merged shortly after release.
|
|
|
|
diff --git a/src/pixie-backtrace.c b/src/pixie-backtrace.c
|
|
index e7113a2..715b5db 100644
|
|
--- a/src/pixie-backtrace.c
|
|
+++ b/src/pixie-backtrace.c
|
|
@@ -11,7 +11,7 @@
|
|
char global_self[512] = "";
|
|
|
|
|
|
-#if defined(__linux__)
|
|
+#if defined(__GLIBC__)
|
|
#include <unistd.h>
|
|
#include <execinfo.h>
|
|
#include <dlfcn.h>
|