aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2024-02-09 19:27:54 +0000
committerPaul Kirth <paulkirth@google.com>2024-02-09 19:27:54 +0000
commitff7ffccb80377127a5277aac5e7e121f26670f86 (patch)
tree10306f0665edf6fc471d6b522c6e46b5650c51af
parentf5fd42bb8ac35d6863dc41364af1101bec7f3e7c (diff)
downloadgfxstream-ff7ffccb80377127a5277aac5e7e121f26670f86.tar.gz
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
-rw-r--r--guest/android-emu/aemu/base/Optional.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/guest/android-emu/aemu/base/Optional.h b/guest/android-emu/aemu/base/Optional.h
index cb632731..b76f5a1f 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.
//