summaryrefslogtreecommitdiff
path: root/libs/binder/RpcSession.cpp
diff options
context:
space:
mode:
author Andrei Homescu <ahomescu@google.com> 2022-04-25 04:58:23 +0000
committer Andrei Homescu <ahomescu@google.com> 2022-05-17 00:58:36 +0000
commit1d935e86b9f5a4736a5e301bdd3e5fcbfdecf3b4 (patch)
tree60270c16ab712d1b4ed0e88714b5c675a9638b95 /libs/binder/RpcSession.cpp
parent1975aaa532eeeea97980718cd68c4101fcdf6b97 (diff)
libbinder: add TEMP_FAILURE_RETRY header to RPC code
Binder RPC code uses the TEMP_FAILURE_RETRY macro which is defined by the C library on Linux but not on other operating systems. The utils/Compat.h header defines that macro if not available. This change includes that header into RPC code. Test: m Bug: 224644083 Change-Id: I2637e5260e258f3b2dfeb99e8ea7187c079550f7
Diffstat (limited to 'libs/binder/RpcSession.cpp')
-rw-r--r--libs/binder/RpcSession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp
index 16991db58d..b7ca88afce 100644
--- a/libs/binder/RpcSession.cpp
+++ b/libs/binder/RpcSession.cpp
@@ -34,6 +34,7 @@
#include <binder/RpcServer.h>
#include <binder/RpcTransportRaw.h>
#include <binder/Stability.h>
+#include <utils/Compat.h>
#include <utils/String8.h>
#include "FdTrigger.h"