~leon_plickat/wlopm

c61cbb45732cba57432450620ffa568d61a04c67 — Leon Henrik Plickat 1 year, 10 months ago 262fc7c
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.