From 1d935e86b9f5a4736a5e301bdd3e5fcbfdecf3b4 Mon Sep 17 00:00:00 2001 From: Andrei Homescu Date: Mon, 25 Apr 2022 04:58:23 +0000 Subject: 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 --- libs/binder/RpcServer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/binder/RpcServer.cpp') diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp index ace5cd5052..eb39bd9bb2 100644 --- a/libs/binder/RpcServer.cpp +++ b/libs/binder/RpcServer.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include "FdTrigger.h" #include "RpcSocketAddress.h" -- cgit v1.2.3-59-g8ed1b