OSDN Git Service

filelight: remove redundant system header inclusions
authorIvailo Monev <xakepa10@gmail.com>
Sat, 5 Jun 2021 17:49:59 +0000 (20:49 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Sat, 5 Jun 2021 17:49:59 +0000 (20:49 +0300)
fixes build on host with musl C library (missing fstab header)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
filelight/src/part/localLister.cpp

index ea79525..b9e74b4 100644 (file)
 #include <QtCore/QFile>
 #include <QtCore/QByteArray>
 
-#include <sys/stat.h>
+#include <sys/stat.h> // S_BLKSIZE
 #include <sys/types.h>
 #include <unistd.h>
 #include <errno.h>
 
-#ifdef Q_OS_SOLARIS
-#include <sys/vfstab.h>
-#else
-#include <fstab.h>
-#endif
-
-#ifdef HAVE_MNTENT_H
-#include <mntent.h>
-#endif
-
 #ifndef S_BLKSIZE
 #define S_BLKSIZE 512
 #endif