mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-22 06:01:26 +02:00
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
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 <langinfo.h>
|
|
#endif
|
|
|
|
-#ifndef Q_OS_WIN32
|
|
+#if (defined(Q_OS_LINUX) && defined(__GLIBC__)) || defined(Q_OS_FREEBSD)
|
|
#include <fstab.h>
|
|
#endif
|
|
#include <unistd.h>
|
|
@@ -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<K3b::Device::Device*> automountedDevices = checkForAutomounting();
|
|
for( QList<K3b::Device::Device *>::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::Device::Device*> K3b::SystemProblemDialog::checkForAutomounting()
|
|
{
|
|
QList<K3b::Device::Device *> l;
|