diff options
| author | Andrew Miloradovsky <andrew@interpretmath.pw> | 2019-12-02 17:36:48 +0300 | 
|---|---|---|
| committer | MOHIT AGRAWAL <moagrawa@redhat.com> | 2019-12-13 05:51:16 +0000 | 
| commit | 5ab835004371f2165d1c3f335aa0fd777c9f8c20 (patch) | |
| tree | ca2d3d3b907ba819cb8a0d368967b1ad99315062 | |
| parent | b202e0e01d0eb8085eb8006dfa77b7b4b06978e6 (diff) | |
rpc: define xdr_sizeof regardless of whether IPv6 is the default
Change-Id: I4f20f376d82b28e1c572c0fd0b6cd38e97b133da
Fixes: bz#1780260
| -rw-r--r-- | rpc/rpc-lib/src/xdr-common.h | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/rpc/rpc-lib/src/xdr-common.h b/rpc/rpc-lib/src/xdr-common.h index 7b0bc36ec64..752736b3d4d 100644 --- a/rpc/rpc-lib/src/xdr-common.h +++ b/rpc/rpc-lib/src/xdr-common.h @@ -66,11 +66,9 @@ enum gf_dump_procnum {  #ifdef GF_LINUX_HOST_OS  #define xdr_u_int32_t xdr_uint32_t  #define xdr_u_int64_t xdr_uint64_t -#ifdef IPV6_DEFAULT  unsigned long  xdr_sizeof(xdrproc_t func, void *data);  #endif -#endif  #ifdef GF_DARWIN_HOST_OS  #define xdr_u_quad_t xdr_u_int64_t  | 
