--- a/logging.cpp 2017-09-22 21:33:36.030774014 +0200 +++ b/ext/libclementine-common/core/logging.cpp 2017-09-22 21:35:34.327766268 +0200 @@ -21,7 +21,7 @@ #include #include -#ifdef Q_OS_UNIX +#if defined Q_OS_UNIX && defined __GLIBC__ #include #endif @@ -249,7 +249,7 @@ } void DumpStackTrace() { -#ifdef Q_OS_UNIX +#if defined Q_OS_UNIX && defined __GLIBC__ void* callstack[128]; int callstack_size = backtrace(reinterpret_cast(&callstack), sizeof(callstack));