diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-12 09:38:22 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2005-09-12 09:38:22 +0000 |
commit | a9ab2cf3fba47b587dd95bcb6023aab453e3ecac (patch) | |
tree | bf65015f7a484ba31afdb68516da6e56e076e6bd /source/lib | |
parent | 6e68c94008a647c33affd8afc836c1e808f1617c (diff) | |
download | samba-a9ab2cf3fba47b587dd95bcb6023aab453e3ecac.tar.gz samba-a9ab2cf3fba47b587dd95bcb6023aab453e3ecac.tar.xz samba-a9ab2cf3fba47b587dd95bcb6023aab453e3ecac.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')
-rw-r--r-- | source/lib/sysquotas_4A.c | 6 | ||||
-rw-r--r-- | source/lib/sysquotas_linux.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/source/lib/sysquotas_4A.c b/source/lib/sysquotas_4A.c index 5596481bd29..99b1a13e997 100644 --- a/source/lib/sysquotas_4A.c +++ b/source/lib/sysquotas_4A.c @@ -24,6 +24,12 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_QUOTA +#ifndef HAVE_SYS_QUOTAS +#ifdef HAVE_QUOTACTL_4A +#undef HAVE_QUOTACTL_4A +#endif +#endif + #ifdef HAVE_QUOTACTL_4A /* long quotactl(int cmd, char *special, qid_t id, caddr_t addr) */ /* this is used by: HPUX,IRIX */ 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" |