summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-09 16:00:47 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-09 17:44:51 +0200
commit2ea0f6c00da1287a8c59efcbceb7f4f6525a52b0 (patch)
treeab4bc29c423a93fc2863232cb920fca910843993 /source3/lib
parent79df06ed009bc9a55703014213af436f2045bda5 (diff)
downloadsamba-2ea0f6c00da1287a8c59efcbceb7f4f6525a52b0.tar.gz
samba-2ea0f6c00da1287a8c59efcbceb7f4f6525a52b0.tar.bz2
samba-2ea0f6c00da1287a8c59efcbceb7f4f6525a52b0.zip
s3:quota-nfs: add RQ_PATHLEN define for systems that don't have it
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 9 17:44:51 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/lib')
-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