diff --git a/wlopm.c b/wlopm.c index 0301343..69f5602 100644 --- a/wlopm.c +++ b/wlopm.c @@ -27,7 +27,7 @@ #include #include -#ifndef BSD +#ifdef __linux__ #include #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.