summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-03-30 15:58:43 +0200
committerAnand Avati <avati@redhat.com>2012-04-23 21:29:03 -0700
commit7313b22f10fafe7773a15d8306496d1d56ef5f81 (patch)
tree5080fcb607bbea24938444ef2eb5a031fee54793 /rpc
parent92baa61bfe5853fca301eb1e10f063097df24e2e (diff)
NetBSD build fixes
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Change-Id: I8f9aabeadd2f842521a82e59594115bd80155d68 BUG: 2923 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.com/3053 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-lib/src/xdr-common.h1
-rw-r--r--rpc/xdr/src/xdr-nfs3.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/xdr-common.h b/rpc/rpc-lib/src/xdr-common.h
index d5198d20f47..610e0f79b90 100644
--- a/rpc/rpc-lib/src/xdr-common.h
+++ b/rpc/rpc-lib/src/xdr-common.h
@@ -56,6 +56,7 @@ enum gf_dump_procnum {
#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
diff --git a/rpc/xdr/src/xdr-nfs3.c b/rpc/xdr/src/xdr-nfs3.c
index 2b2b1049c08..35fca59ff80 100644
--- a/rpc/xdr/src/xdr-nfs3.c
+++ b/rpc/xdr/src/xdr-nfs3.c
@@ -19,6 +19,7 @@
#include "xdr-nfs3.h"
#include "mem-pool.h"
+#include "xdr-common.h"
#if GF_DARWIN_HOST_OS
#define xdr_u_quad_t xdr_u_int64_t