summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/sysquotas_nfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/sysquotas_nfs.c b/source3/lib/sysquotas_nfs.c
index 3427f33ee4..ad98152029 100644
--- a/source3/lib/sysquotas_nfs.c
+++ b/source3/lib/sysquotas_nfs.c
@@ -44,6 +44,10 @@
#endif
#include <rpc/xdr.h>
+#ifndef RQ_PATHLEN
+#define RQ_PATHLEN 1024
+#endif
+
#ifdef HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U
#define GQR_RQUOTA getquota_rslt_u.gqr_rquota
#define GQR_STATUS status