summaryrefslogtreecommitdiff
path: root/source3/lib/sysquotas_4A.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-12 09:38:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:35 -0500
commite80d6cba6180e3bfa5f61b7f142b865dd445eb39 (patch)
tree00eeb229fba666b60dd82f399b6eadf858f48ceb /source3/lib/sysquotas_4A.c
parentb4857a4c2a06c6ef4bd8b15f7da3525ecc9ff998 (diff)
downloadsamba-e80d6cba6180e3bfa5f61b7f142b865dd445eb39.tar.gz
samba-e80d6cba6180e3bfa5f61b7f142b865dd445eb39.tar.bz2
samba-e80d6cba6180e3bfa5f61b7f142b865dd445eb39.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 (This used to be commit ff82c247c5bf4093723e4ce702a4afe38257a31b)
Diffstat (limited to 'source3/lib/sysquotas_4A.c')
-rw-r--r--source3/lib/sysquotas_4A.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/sysquotas_4A.c b/source3/lib/sysquotas_4A.c
index 5596481bd2..99b1a13e99 100644
--- a/source3/lib/sysquotas_4A.c
+++ b/source3/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 */