From: Timo Sirainen Date: Thu, 19 Jun 2008 05:22:23 +0000 (+0300) Subject: AIX FS quota: Include sys/fs/quota_common.h X-Git-Tag: 1.2.alpha1~259 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83e4ca4e480fd4bd2865f1afbbe930c4b101b9f3;p=thirdparty%2Fdovecot%2Fcore.git AIX FS quota: Include sys/fs/quota_common.h --HG-- branch : HEAD --- diff --git a/configure.in b/configure.in index 0e27de4833..bdcb3e8c90 100644 --- a/configure.in +++ b/configure.in @@ -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 --git a/src/plugins/quota/quota-fs.h b/src/plugins/quota/quota-fs.h index 4974440122..3a55f27a79 100644 --- a/src/plugins/quota/quota-fs.h +++ b/src/plugins/quota/quota-fs.h @@ -14,6 +14,9 @@ # include /* BSDs */ #elif defined(HAVE_JFS_QUOTA_H) # include /* AIX */ +# ifdef HAVE_SYS_FS_QUOTA_COMMON_H +# include /* quotactl() */ +# endif #else # undef HAVE_FS_QUOTA #endif