aidl: light: Add missing <functional> includes
authorRyan Prichard <rprichard@google.com>
Wed, 20 Mar 2024 02:56:00 +0000 (19:56 -0700)
committerŁukasz Patron <priv.luk@gmail.com>
Mon, 28 Oct 2024 07:11:12 +0000 (07:11 +0000)
The new libc++ omits some transitive includes, triggering build
failures in places that don't include the headers they need.

Bug: 175635923
Change-Id: I0d4918f292f05286cfd3547e50b4e37ab2780bd0

aidl/light/Lights.h

index a45c2702f568e255fc14a92ed1f30d6c2811a060..3cb5433177de84d78f0e9672d3f1b681676e14a4 100644 (file)
@@ -9,6 +9,7 @@
 #include <aidl/android/hardware/light/BnLights.h>
 #include <samsung_lights.h>
 
+#include <functional>
 #include <unordered_map>
 
 using ::aidl::android::hardware::light::HwLightState;