diff --git a/src/k3bsystemproblemdialog.cpp b/src/k3bsystemproblemdialog.cpp index 3881eba38..2b818a85c 100644 --- a/src/k3bsystemproblemdialog.cpp +++ b/src/k3bsystemproblemdialog.cpp @@ -49,7 +49,7 @@ #include #endif -#ifndef Q_OS_WIN32 +#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(Q_OS_FREEBSD) #include #endif #include @@ -386,7 +386,7 @@ void K3b::SystemProblemDialog::checkSystem(QWidget* parent, NotificationLevel le dvd_r_dl = true; } -#ifndef Q_OS_WIN32 +#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(Q_OS_FREEBSD) // check automounted devices QList automountedDevices = checkForAutomounting(); for( QList::const_iterator it = automountedDevices.constBegin(); @@ -673,7 +673,7 @@ int K3b::SystemProblemDialog::dmaActivated( K3b::Device::Device* dev ) } -#ifndef Q_OS_WIN32 +#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(Q_OS_FREEBSD) QList K3b::SystemProblemDialog::checkForAutomounting() { QList l;