commit | e0d8b6541b4abe1c63ba31ae90a7cf038d7d7b3a | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Wed Jul 28 19:10:53 2021 +0000 |
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 28 19:10:53 2021 +0000 |
tree | 2c6dfa4f3ff200df554e037655c68a143f7d0ef6 | |
parent | 9154b5ce96b6e41dd57bcdcee8ce4cd2c512b7c0 [diff] |
Add missing <stddef.h> includes for size_t in a couple of files. Not sure why this shows up in some builds but not on the waterfall. Change-Id: Iaf2a3364556d119ab634f3360d713425cb509b18 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/83570 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fxcrt/fx_unicode.cpp b/core/fxcrt/fx_unicode.cpp index 2983655..9b69e98 100644 --- a/core/fxcrt/fx_unicode.cpp +++ b/core/fxcrt/fx_unicode.cpp
@@ -6,6 +6,8 @@ #include "core/fxcrt/fx_unicode.h" +#include <stddef.h> + #include "third_party/base/check.h" #include "third_party/base/cxx17_backports.h"
diff --git a/third_party/base/cxx17_backports.h b/third_party/base/cxx17_backports.h index de1ab07..1df15f2 100644 --- a/third_party/base/cxx17_backports.h +++ b/third_party/base/cxx17_backports.h
@@ -5,6 +5,8 @@ #ifndef THIRD_PARTY_BASE_CXX17_BACKPORTS_H_ #define THIRD_PARTY_BASE_CXX17_BACKPORTS_H_ +#include <stddef.h> + namespace pdfium { // C++14 implementation of C++17's std::size():