blob: 1215374cc727d955526813f6cf586181f0dc4e89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Author: Pino Toscano <pino@debian.org>
Description: Correct determineFileSystemTypeImpl() for any glibc-based system
Fixes compilation on GNU/kFreeBSD, which has no determineFileSystemTypeImpl()
being recognized by default.
Last-Update: 2013-09-04
Forwarded: no
Index: kde4libs/kdecore/io/kfilesystemtype_p.cpp
===================================================================
--- kde4libs.orig/kdecore/io/kfilesystemtype_p.cpp 2013-09-04 11:36:51.283495440 +0000
+++ kde4libs/kdecore/io/kfilesystemtype_p.cpp 2013-09-04 11:36:51.279495599 +0000
@@ -56,7 +56,7 @@
return kde_typeFromName(buf.f_fstypename);
}
-#elif defined(Q_OS_LINUX) || defined(Q_OS_HURD)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_HURD) || defined(__GLIBC__)
# include <sys/vfs.h>
# ifdef QT_LINUXBASE
// LSB 3.2 has statfs in sys/statfs.h, sys/vfs.h is just an empty dummy header
|