summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src
diff options
context:
space:
mode:
authorShreyas Siravara <sshreyas@fb.com>2017-12-06 09:42:27 -0800
committerJeff Darcy <jdarcy@fb.com>2017-12-06 11:34:00 -0800
commit349a55c5ef5c3a5aaee37b547b545df94fc10faf (patch)
tree003afae341f12ae1116ce2599d5a48b7083bea46 /rpc/rpc-lib/src
parent3fa4510fdb5d6858b788f64c069299b133edef0e (diff)
xdr: Fix build errors due to missing xdr symbol when building against TIRPC
Change-Id: Ic52045f5dd19e551612242450b8982f42ff327e9 Signed-off-by: Shreyas Siravara <sshreyas@fb.com>
Diffstat (limited to 'rpc/rpc-lib/src')
-rw-r--r--rpc/rpc-lib/src/xdr-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/xdr-common.h b/rpc/rpc-lib/src/xdr-common.h
index 596ac99640f..dd93110190f 100644
--- a/rpc/rpc-lib/src/xdr-common.h
+++ b/rpc/rpc-lib/src/xdr-common.h
@@ -63,6 +63,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