diff options
author | Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> | 2017-09-19 14:30:10 +0200 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-19 12:40:11 +0000 |
commit | b02aa61946a62639dd9d39bc00eff6f829b1e414 (patch) | |
tree | 396c323fd092fd19d1b9d1efba494ed346972858 /fxbarcode/common | |
parent | 2c559dc576392e69208895f2632f49ee43903d48 (diff) | |
download | pdfium-b02aa61946a62639dd9d39bc00eff6f829b1e414.tar.xz |
IWYU: Explicitly include <stdint.h> in some headers.
While Chromium's clang and libc++ implicitly end up including that header,
the build can break with other toolchains (e.g. GCC 7 and its libstdc++)
because some headers reference types such as int32_t without including the
header that defines them.
Change-Id: Ibb2aa3d3b432f4b47f1b8635d0196d4f69cb09a0
Reviewed-on: https://pdfium-review.googlesource.com/14270
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxbarcode/common')
-rw-r--r-- | fxbarcode/common/BC_CommonBitArray.h | 2 | ||||
-rw-r--r-- | fxbarcode/common/BC_CommonByteArray.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/fxbarcode/common/BC_CommonBitArray.h b/fxbarcode/common/BC_CommonBitArray.h index 1f98e54e53..163db86273 100644 --- a/fxbarcode/common/BC_CommonBitArray.h +++ b/fxbarcode/common/BC_CommonBitArray.h @@ -7,6 +7,8 @@ #ifndef FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ #define FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ +#include <stdint.h> + #include <vector> class CBC_CommonBitArray { diff --git a/fxbarcode/common/BC_CommonByteArray.h b/fxbarcode/common/BC_CommonByteArray.h index 86b4ea1544..285a567c8e 100644 --- a/fxbarcode/common/BC_CommonByteArray.h +++ b/fxbarcode/common/BC_CommonByteArray.h @@ -7,6 +7,8 @@ #ifndef FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ #define FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ +#include <stdint.h> + #include <vector> // TODO(weili): The usage of this class should be replaced by |