From 9053d1a6fccf376b8d2a96cccd4370403f5a86d9 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Sun, 2 Jun 2024 04:29:38 +0900 Subject: [PATCH] Fix build on clang-r522817 hardware/interfaces/automotive/can/1.0/tools/libprotocan/MessageInjector.cpp:44:8: error: no member named 'lock_guard' in namespace 'std' 44 | std::lock_guard lock(mMessagesGuard); | ~~~~~^ Bug: 322868540 Test: presubmit Change-Id: I45cd6a8420e508a37e2b6da456933c036493e15e --- .../1.0/tools/libprotocan/include/libprotocan/MessageInjector.h | 1 + 1 file changed, 1 insertion(+) diff --git a/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h b/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h index b0ea260640..e35feee7ee 100644 --- a/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h +++ b/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h @@ -22,6 +22,7 @@ #include #include +#include #include namespace android::hardware::automotive::protocan {