From 1b4472d8fef1dfe2e2d648861af485688effecbe Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sun, 11 Dec 2005 22:09:15 +0000 Subject: Only use MNT_NODEV if it is defined. --- sysutils/filelight-kde4/files/mntent_compat.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysutils/filelight-kde4/files/mntent_compat.cpp') 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" }, -- cgit v1.2.3