summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorAndrew Miloradovsky <andrew@interpretmath.pw>2019-12-02 17:36:48 +0300
committerMOHIT AGRAWAL <moagrawa@redhat.com>2019-12-13 05:51:16 +0000
commit5ab835004371f2165d1c3f335aa0fd777c9f8c20 (patch)
treeca2d3d3b907ba819cb8a0d368967b1ad99315062 /rpc
parentb202e0e01d0eb8085eb8006dfa77b7b4b06978e6 (diff)
rpc: define xdr_sizeof regardless of whether IPv6 is the default
Change-Id: I4f20f376d82b28e1c572c0fd0b6cd38e97b133da Fixes: bz#1780260
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-lib/src/xdr-common.h2
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