commit | 39531419df32352bc997c62f319e9ed673607fdd | [log] [tgz] |
---|---|---|
author | Takuto Ikuta <tikuta@google.com> | Thu Feb 20 15:31:47 2025 +0900 |
committer | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com <swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 20 07:23:28 2025 -0800 |
tree | a74f9c5501f4d1d8ababc081f57464e1942044a9 | |
parent | eacbbbcfa67c75deb84b83f6db14644f3dbafddf [diff] |
Add missing include headers This is for C++ modules build in chromium. This imports https://github.com/KhronosGroup/SPIRV-Tools/pull/5995 Bug: 40263312 Change-Id: I175059687a3f7d03b56a7eb9c776a679cced1560 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/75048 Presubmit-Ready: Takuto Ikuta <tikuta@google.com> Tested-by: Takuto Ikuta <tikuta@google.com> Reviewed-by: Geoff Lang <geofflang@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Commit-Queue: Takuto Ikuta <tikuta@google.com>
diff --git a/third_party/SPIRV-Tools/tools/util/flags.cpp b/third_party/SPIRV-Tools/tools/util/flags.cpp index 6198e4b..9c99677 100644 --- a/third_party/SPIRV-Tools/tools/util/flags.cpp +++ b/third_party/SPIRV-Tools/tools/util/flags.cpp
@@ -15,6 +15,7 @@ #include "flags.h" #include <algorithm> +#include <cerrno> #include <cstdlib> #include <cstring> #include <iostream>