summaryrefslogtreecommitdiff
path: root/source/lib/sysquotas_linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/sysquotas_linux.c')
-rw-r--r--source/lib/sysquotas_linux.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/lib/sysquotas_linux.c b/source/lib/sysquotas_linux.c
index 4c024b04cc4..28a86196e2b 100644
--- a/source/lib/sysquotas_linux.c
+++ b/source/lib/sysquotas_linux.c
@@ -24,6 +24,12 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_QUOTA
+#ifndef HAVE_SYS_QUOTAS
+#ifdef HAVE_QUOTACTL_LINUX
+#undef HAVE_QUOTACTL_LINUX
+#endif
+#endif
+
#ifdef HAVE_QUOTACTL_LINUX
#include "samba_linux_quota.h"