| commit | ff7ffccb80377127a5277aac5e7e121f26670f86 | [log] [tgz] |
|---|---|---|
| author | Paul Kirth <paulkirth@google.com> | Fri Feb 09 19:27:54 2024 +0000 |
| committer | Paul Kirth <paulkirth@google.com> | Fri Feb 09 19:27:54 2024 +0000 |
| tree | 10306f0665edf6fc471d6b522c6e46b5650c51af | |
| parent | f5fd42bb8ac35d6863dc41364af1101bec7f3e7c [diff] |
Fix missing include after libc++ update Upstream libc++ has changed a transitive header dependency. The upstream PR is here: https://github.com/llvm/llvm-project/pull/80418 and no longer transitively brought <cstdlib>. More context can be found at: https://fxbug.dev/324466743 Change-Id: I3fe223d116bc4103d1efb69c0bc47cddbae62494
diff --git a/guest/android-emu/aemu/base/Optional.h b/guest/android-emu/aemu/base/Optional.h index cb63273..b76f5a1 100644 --- a/guest/android-emu/aemu/base/Optional.h +++ b/guest/android-emu/aemu/base/Optional.h
@@ -24,6 +24,7 @@ #include <utility> #include <cstddef> +#include <cstdlib> // Optional<T> - a template class to store an optional value of type T. //