summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/filelight-kde4/files/mntent_compat.cpp2
-rw-r--r--sysutils/filelight/files/mntent_compat.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/filelight-kde4/files/mntent_compat.cpp b/sysutils/filelight-kde4/files/mntent_compat.cpp
index ae8768030d54..0675cd2ccf7f 100644
--- a/sysutils/filelight-kde4/files/mntent_compat.cpp
+++ b/sysutils/filelight-kde4/files/mntent_compat.cpp
@@ -49,7 +49,9 @@ static struct optmap omap[] = {
{ MNT_SYNCHRONOUS, "sync" },
{ MNT_NOEXEC, "noexec" },
{ MNT_NOSUID, "nosuid" },
+#ifdef MNT_NODEV
{ MNT_NODEV, "nodev" },
+#endif
{ MNT_UNION, "union" },
{ MNT_ASYNC, "async" },
{ MNT_NOATIME, "noatime" },
diff --git a/sysutils/filelight/files/mntent_compat.cpp b/sysutils/filelight/files/mntent_compat.cpp
index ae8768030d54..0675cd2ccf7f 100644
--- a/sysutils/filelight/files/mntent_compat.cpp
+++ b/sysutils/filelight/files/mntent_compat.cpp
@@ -49,7 +49,9 @@ static struct optmap omap[] = {
{ MNT_SYNCHRONOUS, "sync" },
{ MNT_NOEXEC, "noexec" },
{ MNT_NOSUID, "nosuid" },
+#ifdef MNT_NODEV
{ MNT_NODEV, "nodev" },
+#endif
{ MNT_UNION, "union" },
{ MNT_ASYNC, "async" },
{ MNT_NOATIME, "noatime" },