summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2024-05-24 00:43:25 +0900
committer Yi Kong <yikong@google.com> 2024-05-24 00:43:25 +0900
commit7a2045dc9bc764cc74e144a55913f0d346dfdab6 (patch)
tree81eeb8577c145ade92b2d581481aef15fd78b83f
parent799d4cc47bfa3c093c79985a159503f1ad570f40 (diff)
Fix build with ToT libc++
frameworks/native/cmds/dumpstate/DumpstateUtil.h:221:65: error: no template named 'vector' in namespace 'std' 221 | int RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command, | Test: Build with ToT libc++ Change-Id: If8b9f7dd93121800edf80ace1ce44497950c3fb4
-rw-r--r--cmds/dumpstate/DumpstateUtil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/dumpstate/DumpstateUtil.h b/cmds/dumpstate/DumpstateUtil.h
index 9e955e3c04..ae7152a26a 100644
--- a/cmds/dumpstate/DumpstateUtil.h
+++ b/cmds/dumpstate/DumpstateUtil.h
@@ -18,6 +18,7 @@
#include <cstdint>
#include <string>
+#include <vector>
/*
* Converts seconds to milliseconds.