summaryrefslogtreecommitdiffstats
path: root/source/lib/sysquotas_4A.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/sysquotas_4A.c')
-rw-r--r--source/lib/sysquotas_4A.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/lib/sysquotas_4A.c b/source/lib/sysquotas_4A.c
index fb69417104b..66b367f0990 100644
--- a/source/lib/sysquotas_4A.c
+++ b/source/lib/sysquotas_4A.c
@@ -1,6 +1,6 @@
/*
Unix SMB/CIFS implementation.
- System QUOTA function wrappers for LINUX
+ System QUOTA function wrappers for QUOTACTL_4A
Copyright (C) Stefan (metze) Metzmacher 2003
This program is free software; you can redistribute it and/or modify
@@ -45,6 +45,10 @@
#define QCMD(x,y) x
#endif
+#ifndef QCMD
+#define QCMD(x,y) x
+#endif
+
#ifdef GRPQUOTA
#define HAVE_GROUP_QUOTA
#endif
@@ -309,4 +313,6 @@ int sys_set_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qt
return ret;
}
+#else /* HAVE_QUOTACTL_4A */
+ void dummy_sysquotas_4A(void){}
#endif /* HAVE_QUOTACTL_4A */