Add missing libc++ includes

Bug: 175635923
Test: m checkbuild
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:94a21e9ae2ea8162128fe392f743d523238b7f3e)
Merged-In: I9cef8d1b0306fab363e2fe4eda39782e21f24d8f
Change-Id: I9cef8d1b0306fab363e2fe4eda39782e21f24d8f
diff --git a/services/surfaceflinger/common/include/common/FlagManager.h b/services/surfaceflinger/common/include/common/FlagManager.h
index 2e1d6ae..8b5983d 100644
--- a/services/surfaceflinger/common/include/common/FlagManager.h
+++ b/services/surfaceflinger/common/include/common/FlagManager.h
@@ -17,6 +17,7 @@
 #pragma once
 
 #include <cstdint>
+#include <functional>
 #include <mutex>
 #include <optional>
 #include <string>