summaryrefslogtreecommitdiff
path: root/source3/lib/sysquotas_xfs.c
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-06 17:26:55 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-07 14:15:57 +0200
commitd1623ec025efa74f31db1177727c8cc0d34d03b6 (patch)
treed2256425a113a725c682735c221eae283cb82234 /source3/lib/sysquotas_xfs.c
parent1f61abd322b5d93ab4d3655ca8efff3545474f1f (diff)
downloadsamba-d1623ec025efa74f31db1177727c8cc0d34d03b6.tar.gz
samba-d1623ec025efa74f31db1177727c8cc0d34d03b6.tar.bz2
samba-d1623ec025efa74f31db1177727c8cc0d34d03b6.zip
s3:sysquota_xfs: check and include the right fs header file for xfs quotas
Diffstat (limited to 'source3/lib/sysquotas_xfs.c')
-rw-r--r--source3/lib/sysquotas_xfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/sysquotas_xfs.c b/source3/lib/sysquotas_xfs.c
index 1e438e9a6d..7da40efd9b 100644
--- a/source3/lib/sysquotas_xfs.c
+++ b/source3/lib/sysquotas_xfs.c
@@ -33,9 +33,10 @@
#ifdef HAVE_LINUX_XFS_QUOTAS
#include "samba_linux_quota.h"
-#ifdef HAVE_LINUX_DQBLK_XFS_H
-#include <linux/dqblk_xfs.h>
+#ifdef HAVE_XFS_XQM_H
+#include <xfs/xqm.h>
#endif
+
#define HAVE_GROUP_QUOTA
#else /* IRIX */
#include <sys/quota.h>