commit | 65fdb079febdd925d4da4bb78b0bca1dde3420c9 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Feb 18 11:53:16 2025 -0500 |
committer | Elliott Hughes <enh@google.com> | Tue Feb 18 11:53:16 2025 -0500 |
tree | 231fad3ef57c2db428415d49a39a1c6e575c49fd | |
parent | f6a2ca4740a52bb992780edeb66a5fc92a470dcc [diff] |
Fix C++23 build. libc++ is stricter about transitive includes for C++23. Change-Id: I1ca46ba2ee8214857cb9910960499a8cf3708661
diff --git a/security/keymint/support/authorization_set.cpp b/security/keymint/support/authorization_set.cpp index c1b5d48..5944908 100644 --- a/security/keymint/support/authorization_set.cpp +++ b/security/keymint/support/authorization_set.cpp
@@ -22,6 +22,8 @@ #include <aidl/android/hardware/security/keymint/KeyParameter.h> #include <aidl/android/hardware/security/keymint/KeyPurpose.h> +#include <algorithm> + namespace aidl::android::hardware::security::keymint { void AuthorizationSet::Sort() {