diff options
author | Csaba Henk <csaba@gluster.com> | 2010-06-24 12:41:03 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-06-25 03:16:39 -0700 |
commit | 2c5c3cedc096c36ef9d004ffa0cdb5324d2915e6 (patch) | |
tree | 626f99a789cf03ae342f0ddb5ad3823ce135fdf5 /xlators/protocol/rpc/rpc-lib/src/xdr-common.h | |
parent | 29893bcba579f7e37a6ace018ffda1c8abe45550 (diff) |
OS X: fix up rpc protocol
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol/rpc/rpc-lib/src/xdr-common.h')
-rw-r--r-- | xlators/protocol/rpc/rpc-lib/src/xdr-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/protocol/rpc/rpc-lib/src/xdr-common.h b/xlators/protocol/rpc/rpc-lib/src/xdr-common.h index 775beb286..0c9ffb2f8 100644 --- a/xlators/protocol/rpc/rpc-lib/src/xdr-common.h +++ b/xlators/protocol/rpc/rpc-lib/src/xdr-common.h @@ -27,6 +27,12 @@ #include <rpc/rpc.h> +#if GF_DARWIN_HOST_OS +#define xdr_u_quad_t xdr_u_int64_t +#define xdr_quad_t xdr_int64_t +#define xdr_uint32_t xdr_u_int32_t +#endif + struct auth_glusterfs_parms { u_quad_t lk_owner; u_int pid; |