summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsia-Jun(Randy) Li <randy.li@synaptics.com>2022-01-17 13:11:29 -0500
committerSteve Dickson <steved@redhat.com>2022-01-20 10:56:32 -0500
commit098561e121d560666c43347f88fc5f737d9e2476 (patch)
tree7252398bcc18245c7af57bfe64bbf6fff4f73618
parent86529758570cef4c73fb9b9c4104fdc510f701ed (diff)
downloadti-rpc-098561e121d560666c43347f88fc5f737d9e2476.tar.gz
rpc/types.h: fix android build
Android bionic doesn't those glibc defined types. Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--tirpc/rpc/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tirpc/rpc/types.h b/tirpc/rpc/types.h
index 0153a5c..798992a 100644
--- a/tirpc/rpc/types.h
+++ b/tirpc/rpc/types.h
@@ -71,6 +71,11 @@ typedef int32_t rpc_inline_t;
# define __daddr_t_defined
#endif
+#if defined __BIONIC__
+typedef int64_t quad_t;
+typedef uint64_t u_quad_t;
+#endif
+
#ifndef __u_char_defined
typedef __u_char u_char;
typedef __u_short u_short;