From 59de321c1067960312c981729c311927528cb77e Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Tue, 22 Feb 2022 13:14:19 -0800 Subject: [PATCH] Add #include to SkTArray.h SkTArray.h uses std::max() which is part of . Some libc++ changes have stopped exporting from certain headers, causing skia to break with ToT libc++. https://github.com/llvm/llvm-project/commit/2e2f3158c604adb8401a2a44a03f58d4b6f1c7f9 Change-Id: Iee4e00b3b3a6cbe2c1881453d05c0658e95a767b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/512016 Commit-Queue: Arthur Eubanks Auto-Submit: Arthur Eubanks Reviewed-by: Erik Rose Commit-Queue: Erik Rose Reviewed-by: Michael Ludwig --- include/private/SkTArray.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/private/SkTArray.h b/include/private/SkTArray.h index 9db5fd0306..9bbe98bbaf 100644 --- a/include/private/SkTArray.h +++ b/include/private/SkTArray.h @@ -16,6 +16,7 @@ #include "include/private/SkTemplates.h" #include "include/private/SkTo.h" +#include #include #include #include