| commit | c930b5516c41160874e195bf0e8291774c4efa35 | [log] [tgz] |
|---|---|---|
| author | Lei Zhang <thestig@chromium.org> | Wed Nov 08 21:45:53 2023 +0000 |
| committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 08 21:45:53 2023 +0000 |
| tree | 035aa0d7de8c8a8d78c03c4e14e7615c9ba5bd17 | |
| parent | 42154f4c1e5a12a4b8fa226ce00a80f2bedc41f2 [diff] |
Add missing stdint.h include in span.h Otherwise, the code does not compile with some versions of g++. In Chromium, https://crrev.com/1132859 did the exact same thing. Change-Id: I9617a233fa03a46518b2da41bbb56dcbffe2b829 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/113430 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Auto-Submit: Lei Zhang <thestig@chromium.org>
diff --git a/third_party/base/containers/span.h b/third_party/base/containers/span.h index 00a2324..d11a393 100644 --- a/third_party/base/containers/span.h +++ b/third_party/base/containers/span.h
@@ -6,6 +6,7 @@ #define THIRD_PARTY_BASE_CONTAINERS_SPAN_H_ #include <stddef.h> +#include <stdint.h> #include <algorithm> #include <array>