diff options
author | Andreas Schneider <asn@samba.org> | 2018-01-19 14:30:20 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-01-25 21:05:22 +0100 |
commit | fafbd4edee9888ceb734ef510cc62e461f1f6096 (patch) | |
tree | 08e48165876572cf1dc81e5b1c7462323ece5ebf /source3/lib | |
parent | 7ed0c0663f378de90b4a0b5b8fe057929979a37f (diff) | |
download | samba-fafbd4edee9888ceb734ef510cc62e461f1f6096.tar.gz |
waf: Fix NFS quota support with libtirpc
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13238
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan 22 17:26:52 CET 2018 on sn-devel-144
(cherry picked from commit 39a6ea766dfe55d84ab2284b8d5ed01d66da11dd)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/sysquotas_nfs.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source3/lib/sysquotas_nfs.c b/source3/lib/sysquotas_nfs.c index fe46d3fa36a..dd2b12d0ffd 100644 --- a/source3/lib/sysquotas_nfs.c +++ b/source3/lib/sysquotas_nfs.c @@ -36,13 +36,22 @@ * This is based on the FreeBSD / SUNOS5 section of quotas.c */ +/* <rpc/xdr.h> uses TRUE and FALSE */ +#ifdef TRUE +#undef TRUE +#endif + +#ifdef FALSE +#undef FALSE +#endif + #include <rpc/rpc.h> #include <rpc/types.h> +#include <rpc/xdr.h> #include <rpcsvc/rquota.h> #ifdef HAVE_RPC_NETTYPE_H #include <rpc/nettype.h> #endif -#include <rpc/xdr.h> #ifndef RQ_PATHLEN #define RQ_PATHLEN 1024 |