diff options
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 775beb2865e..0c9ffb2f827 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; |