Use correct OS macro to guard execinfo.h
1 files changed, 2 insertions(+), 2 deletions(-) M wlopm.c
M wlopm.c => wlopm.c +2 -2
@@ 27,7 27,7 @@ #include <unistd.h> #include <wayland-client.h> #ifndef BSD #ifdef __linux__ #include<execinfo.h> #endif @@ 431,7 431,7 @@ static void handle_error (int signum) "\n"; fputs(msg, stderr); #ifndef BSD #ifdef __linux__ fputs("Attempting to get backtrace:\n", stderr); /* In some rare cases, getting a backtrace can also cause a segfault.