diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2012-05-13 09:11:57 +0200 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-05-15 22:27:19 -0700 |
commit | 27ae1677eb2a6ed4a04bda0df5cc92f2780c11ed (patch) | |
tree | 9230b8922f2196dcd852734441501b11325255a1 /rpc/xdr | |
parent | 7503c63ee141931556cf066b9b255fc62cefcb68 (diff) |
NetBSD build fixes
Last batch of NetBSD build fixes, makes 3.3.0qa40 operational.
Round 2: only include <sys/syslimits.h> for NetBSD
BUG: 764655
Change-Id: Icd7290f1e340675d763665a0d0c5f95bc14e0c55
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.com/3321
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'rpc/xdr')
-rw-r--r-- | rpc/xdr/src/nlm4-xdr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rpc/xdr/src/nlm4-xdr.h b/rpc/xdr/src/nlm4-xdr.h index 683d54ef57a..d95a6ad6e58 100644 --- a/rpc/xdr/src/nlm4-xdr.h +++ b/rpc/xdr/src/nlm4-xdr.h @@ -27,6 +27,12 @@ #include <rpc/rpc.h> +#if defined(__NetBSD__) +#define xdr_u_quad_t xdr_u_int64_t +#define xdr_quad_t xdr_int64_t +#define xdr_uint32_t xdr_u_int32_t +#define xdr_uint64_t xdr_u_int64_t +#endif #ifdef __cplusplus extern "C" { |