diff options
Diffstat (limited to 'source3/lib/sysquotas_xfs.c')
-rw-r--r-- | source3/lib/sysquotas_xfs.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/lib/sysquotas_xfs.c b/source3/lib/sysquotas_xfs.c index 7da40efd9b..c0df85d6c9 100644 --- a/source3/lib/sysquotas_xfs.c +++ b/source3/lib/sysquotas_xfs.c @@ -23,13 +23,7 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_QUOTA -#ifndef HAVE_SYS_QUOTAS -#ifdef HAVE_XFS_QUOTAS -#undef HAVE_XFS_QUOTAS -#endif -#endif - -#ifdef HAVE_XFS_QUOTAS +#if defined(HAVE_SYS_QUOTAS) && (defined(HAVE_XFS_QUOTAS) || defined(HAVE_LINUX_XFS_QUOTAS)) #ifdef HAVE_LINUX_XFS_QUOTAS #include "samba_linux_quota.h" |