view src/plugins/quota/quota-fs.h @ 4188:a3dc87033d2f HEAD

Use mountpoint_get() instead of doing it ourself.
author Timo Sirainen <tss@iki.fi>
date Fri, 14 Apr 2006 13:27:20 +0300
parents f60237ad2edd
children f598896bb40a
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