changeset 4059:7bac8d6bf26d HEAD

Define MNTTYPE_SWAP and MNTTYPE_IGNORE ourself if they're not defined.
author Timo Sirainen <tss@iki.fi>
date Fri, 24 Feb 2006 19:27:55 +0200
parents b1fa11d4a346
children 4158edcd2bf2
files src/plugins/quota/quota-fs.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c	Fri Feb 24 18:42:47 2006 +0200
+++ b/src/plugins/quota/quota-fs.c	Fri Feb 24 19:27:55 2006 +0200
@@ -20,6 +20,13 @@
 
 #define MTAB_PATH "/etc/mtab"
 
+#ifndef MNTTYPE_SWAP
+#  define MNTTYPE_SWAP "swap"
+#endif
+#ifndef MNTTYPE_IGNORE
+#  define MNTTYPE_IGNORE "ignore"
+#endif
+
 struct fs_quota {
 	struct quota quota;