summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-08-09 11:37:38 +0530
committerAnand Avati <avati@gluster.com>2011-08-10 07:21:41 -0700
commit2153b8400bc05f1a9e10c7b650dd96a4617121f1 (patch)
treec68ac5681d0d531cc55ac5db345a528a1cc36025
parenteddb2069f3b0e122cbd034328d87e08e737f4c4e (diff)
fix build issues in Mac OS X (10.6)
Change-Id: Ifc6f156441f6545d579c3fac2fffca36fb395951 BUG: 3354 Reviewed-on: http://review.gluster.com/196 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Shishir Gowda <shishirng@gluster.com>
-rw-r--r--rpc/xdr/src/xdr-generic.h2
-rw-r--r--rpc/xdr/src/xdr-nfs3.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/rpc/xdr/src/xdr-generic.h b/rpc/xdr/src/xdr-generic.h
index 238e74d3cb4..ad82d106bd0 100644
--- a/rpc/xdr/src/xdr-generic.h
+++ b/rpc/xdr/src/xdr-generic.h
@@ -26,6 +26,8 @@
#include <rpc/types.h>
#include <rpc/xdr.h>
+#include "compat.h"
+
#define xdr_decoded_remaining_addr(xdr) ((&xdr)->x_private)
#define xdr_decoded_remaining_len(xdr) ((&xdr)->x_handy)
#define xdr_encoded_length(xdr) (((size_t)(&xdr)->x_private) - ((size_t)(&xdr)->x_base))
diff --git a/rpc/xdr/src/xdr-nfs3.c b/rpc/xdr/src/xdr-nfs3.c
index 97ec1b6fe79..ef38a6e36d9 100644
--- a/rpc/xdr/src/xdr-nfs3.c
+++ b/rpc/xdr/src/xdr-nfs3.c
@@ -24,6 +24,7 @@
#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
bool_t