svn commit: samba r10163 - in branches/SAMBA_3_0/source/lib: .
metze at samba.org
metze at samba.org
Mon Sep 12 09:38:23 GMT 2005
Author: metze
Date: 2005-09-12 09:38:22 +0000 (Mon, 12 Sep 2005)
New Revision: 10163
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10163
Log:
try to fix the build on fedora 4, when --with-quota is not used
(to actually fix the quotas, more work is needed)
metze
Modified:
branches/SAMBA_3_0/source/lib/sysquotas_4A.c
branches/SAMBA_3_0/source/lib/sysquotas_linux.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/sysquotas_4A.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sysquotas_4A.c 2005-09-12 07:31:59 UTC (rev 10162)
+++ branches/SAMBA_3_0/source/lib/sysquotas_4A.c 2005-09-12 09:38:22 UTC (rev 10163)
@@ -24,7 +24,13 @@
#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 */
Modified: branches/SAMBA_3_0/source/lib/sysquotas_linux.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sysquotas_linux.c 2005-09-12 07:31:59 UTC (rev 10162)
+++ branches/SAMBA_3_0/source/lib/sysquotas_linux.c 2005-09-12 09:38:22 UTC (rev 10163)
@@ -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"
More information about the samba-cvs
mailing list