Mercurial > dovecot > original-hg > dovecot-1.2
view src/plugins/quota/quota-fs.h @ 4552:ef71b2fdd433 HEAD
Put back specific checks for struct dqblk.dqb_curblocks vs curspace. The
removal broke compiling for some OSes such as OSX.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 10 Aug 2006 20:46:05 +0300 |
parents | f598896bb40a |
children | 685a6f165193 |
line wrap: on
line source
#ifndef __QUOTA_FS_H #define __QUOTA_FS_H #if defined (HAVE_STRUCT_DQBLK_CURBLOCKS) || \ defined (HAVE_STRUCT_DQBLK_CURSPACE) # define HAVE_FS_QUOTA #endif #ifdef HAVE_SYS_QUOTA_H # include <sys/quota.h> /* Linux */ #elif defined(HAVE_SYS_FS_UFS_QUOTA_H) # include <sys/fs/ufs_quota.h> /* Solaris */ #elif defined(HAVE_UFS_UFS_QUOTA_H) # include <ufs/ufs/quota.h> /* BSDs */ #elif defined(HAVE_JFS_QUOTA_H) # include <jfs/quota.h> /* AIX */ #else # undef HAVE_FS_QUOTA #endif #if !defined(HAVE_QUOTACTL) && !defined(HAVE_Q_QUOTACTL) # undef HAVE_FS_QUOTA #endif #endif