dovecot-1.2: AIX FS quota: Include sys/fs/quota_common.h
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 19 09:00:03 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/34e7c571434d
changeset: 7902:34e7c571434d
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 19 08:22:23 2008 +0300
description:
AIX FS quota: Include sys/fs/quota_common.h
diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
configure.in | 2 +-
src/plugins/quota/quota-fs.h | 3 +++
diffs (25 lines):
diff -r fbbb1cdb2fe9 -r 34e7c571434d configure.in
--- a/configure.in Thu Jun 19 08:17:37 2008 +0300
+++ b/configure.in Thu Jun 19 08:22:23 2008 +0300
@@ -17,7 +17,7 @@ AM_ICONV
AC_CHECK_HEADERS(strings.h stdint.h unistd.h dirent.h malloc.h inttypes.h \
sys/uio.h sys/sysmacros.h sys/resource.h sys/select.h libgen.h \
- sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h \
+ sys/quota.h sys/fs/ufs_quota.h ufs/ufs/quota.h jfs/quota.h sys/fs/quota_common.h \
mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \
xfs/xqm.h sasl.h sasl/sasl.h execinfo.h ucontext.h malloc_np.h)
diff -r fbbb1cdb2fe9 -r 34e7c571434d src/plugins/quota/quota-fs.h
--- a/src/plugins/quota/quota-fs.h Thu Jun 19 08:17:37 2008 +0300
+++ b/src/plugins/quota/quota-fs.h Thu Jun 19 08:22:23 2008 +0300
@@ -14,6 +14,9 @@
# include <ufs/ufs/quota.h> /* BSDs */
#elif defined(HAVE_JFS_QUOTA_H)
# include <jfs/quota.h> /* AIX */
+# ifdef HAVE_SYS_FS_QUOTA_COMMON_H
+# include <sys/fs/quota_common.h> /* quotactl() */
+# endif
#else
# undef HAVE_FS_QUOTA
#endif
More information about the dovecot-cvs
mailing list