summaryrefslogtreecommitdiff
path: root/source3/smbd/quotas.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2003-05-14 14:38:11 +0000
committerAlexander Bokovoy <ab@samba.org>2003-05-14 14:38:11 +0000
commit2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f (patch)
tree98c576bbbae29c213d7da4597b69cfa2a0591d14 /source3/smbd/quotas.c
parentbc2a3748e9caa8f60f7c2387e7eecd7fb3fae899 (diff)
downloadsamba-2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f.tar.gz
samba-2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f.tar.bz2
samba-2c01eef4d7ea9ed57ea5f68a0e75559e101fd26f.zip
Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
(This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
Diffstat (limited to 'source3/smbd/quotas.c')
-rw-r--r--source3/smbd/quotas.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index 0163120ee5..91c952aa90 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -29,6 +29,11 @@
#ifndef HAVE_SYS_QUOTAS
+/* just a quick hack because sysquotas.h is included before linux/quota.h */
+#ifdef QUOTABLOCK_SIZE
+#undef QUOTABLOCK_SIZE
+#endif
+
#ifdef WITH_QUOTAS
#if defined(VXFS_QUOTA)