diff src/plugins/quota/quota-fs.c @ 3762:4d44a337ac08 HEAD

Fixed to work with struct dqblk.dqb_curspace also which is apparently the new Linux-way to do it.
author Timo Sirainen <tss@iki.fi>
date Sat, 24 Dec 2005 00:38:25 +0200
parents 768770a01733
children 55df57c028d4
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c	Wed Dec 21 20:43:16 2005 +0200
+++ b/src/plugins/quota/quota-fs.c	Sat Dec 24 00:38:25 2005 +0200
@@ -14,6 +14,10 @@
 #include <unistd.h>
 #include <sys/stat.h>
 
+#ifdef HAVE_STRUCT_DQBLK_CURSPACE
+#  define dqb_curblocks dqb_curspace
+#endif
+
 #define MTAB_PATH "/etc/mtab"
 
 struct fs_quota {