diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-12 09:38:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:35 -0500 |
commit | ff82c247c5bf4093723e4ce702a4afe38257a31b (patch) | |
tree | bf65015f7a484ba31afdb68516da6e56e076e6bd /source/lib/sysquotas_linux.c | |
parent | daa61ef75b4f7cf510b17cd0b85f5830c73b9279 (diff) | |
download | samba-ff82c247c5bf4093723e4ce702a4afe38257a31b.tar.gz samba-ff82c247c5bf4093723e4ce702a4afe38257a31b.tar.xz samba-ff82c247c5bf4093723e4ce702a4afe38257a31b.zip |
r10163: try to fix the build on fedora 4, when --with-quota is not used
(to actually fix the quotas, more work is needed)
metze
Diffstat (limited to 'source/lib/sysquotas_linux.c')
-rw-r--r-- | source/lib/sysquotas_linux.c | 6 |
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" |