dovecot-2.2: quota: Fixed including the right system quota.h wit...

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 24 23:54:52 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/eb3ab11bcd86
changeset: 18007:eb3ab11bcd86
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 25 02:53:55 2014 +0300
description:
quota: Fixed including the right system quota.h with NetBSD
Patch by Manuel Bouyer.

I guess the quota.h could be renamed to something at some point..

diffstat:

 src/plugins/quota/quota-fs.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 221f3f59901f -r eb3ab11bcd86 src/plugins/quota/quota-fs.h
--- a/src/plugins/quota/quota-fs.h	Sat Oct 25 02:52:50 2014 +0300
+++ b/src/plugins/quota/quota-fs.h	Sat Oct 25 02:53:55 2014 +0300
@@ -7,7 +7,8 @@
 #endif
 
 #ifdef HAVE_QUOTA_OPEN
-#  include <quota.h> /* NetBSD with libquota */
+/* absolute path to avoid confusion with ./quota.h */
+#  include "/usr/include/quota.h" /* NetBSD with libquota */
 #endif
 
 #ifdef HAVE_SYS_QUOTA_H


More information about the dovecot-cvs mailing list