From 7c0b79f00a17e0a284b519418655c539dc0f3940 Mon Sep 17 00:00:00 2001 From: Andrei Homescu Date: Thu, 30 Jun 2022 02:00:46 +0000 Subject: libbinder: separate OS-specific code from Utils.cpp Separate the OS-specific functions setNonBlocking and getRandomBytes from Utils.cpp into a separate OS-specific OS.cpp file that other operating systems can override at build time. Bug: 224644083 Test: build Trusty Change-Id: I2703fb81d4370b5f6264556ae57fdddb0573971a --- 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 1cd1fd3afd..ee90710078 100644 --- a/libs/binder/RpcServer.cpp +++ b/libs/binder/RpcServer.cpp @@ -34,6 +34,7 @@ #include "BuildFlags.h" #include "FdTrigger.h" +#include "OS.h" #include "RpcSocketAddress.h" #include "RpcState.h" #include "RpcWireFormat.h" -- cgit v1.2.3-59-g8ed1b