aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2024-02-09 20:15:10 +0000
committerPaul Kirth <paulkirth@google.com>2024-03-05 23:32:15 +0000
commit32d0c385b4159b7c06a8eb79a9593f31dfbbceee (patch)
tree60e7f416cb98628568b013d13e48d265a28dbd51
parent453652eec9136ee2f8462a9fe8d18935f9967458 (diff)
downloadaemu-32d0c385b4159b7c06a8eb79a9593f31dfbbceee.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: I8a6d162eb637409c2834c432ab7a6fa991f4a487
-rw-r--r--base/include/aemu/base/Optional.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/include/aemu/base/Optional.h b/base/include/aemu/base/Optional.h
index 2a04603..19e4bbf 100644
--- a/base/include/aemu/base/Optional.h
+++ b/base/include/aemu/base/Optional.h
@@ -28,6 +28,7 @@
#include <utility>
#include <cstddef>
+#include <cstdlib>
// Optional<T> - a template class to store an optional value of type T.
//