diff options
author | Amar Tumballi <amar@gluster.com> | 2011-08-09 11:37:38 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-08-10 07:21:41 -0700 |
commit | 2153b8400bc05f1a9e10c7b650dd96a4617121f1 (patch) | |
tree | c68ac5681d0d531cc55ac5db345a528a1cc36025 | |
parent | eddb2069f3b0e122cbd034328d87e08e737f4c4e (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.h | 2 | ||||
-rw-r--r-- | rpc/xdr/src/xdr-nfs3.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/rpc/xdr/src/xdr-generic.h b/rpc/xdr/src/xdr-generic.h index 238e74d3c..ad82d106b 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 97ec1b6fe..ef38a6e36 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 |