summaryrefslogtreecommitdiffstats
path: root/sysutils/filelight-kde4
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2005-12-11 22:09:15 +0000
committerrodrigc <rodrigc@FreeBSD.org>2005-12-11 22:09:15 +0000
commitebf7a2925f314f57ec189e642cc0b0ca9a03563b (patch)
tree0d42c525041de8e9d716aa814d1286087aeff68c /sysutils/filelight-kde4
parent90fd92775fe12f370ba3ff2576c215af412af45c (diff)
downloadFreeBSD-ports-ebf7a2925f314f57ec189e642cc0b0ca9a03563b.zip
FreeBSD-ports-ebf7a2925f314f57ec189e642cc0b0ca9a03563b.tar.gz
Only use MNT_NODEV if it is defined.
Diffstat (limited to 'sysutils/filelight-kde4')
-rw-r--r--sysutils/filelight-kde4/files/mntent_compat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/filelight-kde4/files/mntent_compat.cpp b/sysutils/filelight-kde4/files/mntent_compat.cpp
index ae87680..0675cd2c 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" },
OpenPOWER on IntegriCloud