summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-07-10 01:15:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:24 -0500
commitef591178d08089494f45ab49870a7aaa4f12bed1 (patch)
tree9c6e98012d6177c49d215895e2f9337517809088 /source3/lib
parent58e9534300430fa4f2bcb50fb2d1d2990bdbe636 (diff)
downloadsamba-ef591178d08089494f45ab49870a7aaa4f12bed1.tar.gz
samba-ef591178d08089494f45ab49870a7aaa4f12bed1.tar.bz2
samba-ef591178d08089494f45ab49870a7aaa4f12bed1.zip
r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in the
Samba3 tree. This is neater, plus it avoids the need to get legal approval from SGI to use their GPLv2-only code under GPLv3. If/when SGI legal sort things out, we could consider adding back this header for very old systems where linux/dqblk_xfs.h is not available. (This used to be commit cb435543f84955be75368a3294bc6b627414d876)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sysquotas_xfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/sysquotas_xfs.c b/source3/lib/sysquotas_xfs.c
index 0e9be3a4a7..30538c167b 100644
--- a/source3/lib/sysquotas_xfs.c
+++ b/source3/lib/sysquotas_xfs.c
@@ -33,7 +33,9 @@
#ifdef HAVE_LINUX_XFS_QUOTAS
#include "samba_linux_quota.h"
-#include "samba_xfs_quota.h"
+#ifdef HAVE_LINUX_DQBLK_XFS_H
+#include <linux/dqblk_xfs.h>
+#endif
#define HAVE_GROUP_QUOTA
#else /* IRIX */
#include <sys/quota.h>