--- deadbeef-0.4.4/main.c +++ deadbeef-0.4.4.mod/main.c @@ -38,7 +38,7 @@ #include #include #include -#ifdef __linux__ +#ifdef HAVE_EXECINFO_H #include #endif #ifdef HAVE_CONFIG_H @@ -450,7 +450,7 @@ } #endif -#ifdef __linux__ +#ifdef HAVE_EXECINFO_H void sigsegv_handler (int sig) { fprintf (stderr, "Segmentation Fault\n"); @@ -521,7 +521,7 @@ int main (int argc, char *argv[]) { -#ifdef __linux__ +#ifdef HAVE_EXECINFO_H signal (SIGSEGV, sigsegv_handler); #endif setlocale (LC_ALL, "");