summaryrefslogtreecommitdiff
path: root/fxbarcode/common/BC_CommonByteArray.h
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <raphael.kubo.da.costa@intel.com>2017-09-19 14:30:10 +0200
committerChromium commit bot <commit-bot@chromium.org>2017-09-19 12:40:11 +0000
commitb02aa61946a62639dd9d39bc00eff6f829b1e414 (patch)
tree396c323fd092fd19d1b9d1efba494ed346972858 /fxbarcode/common/BC_CommonByteArray.h
parent2c559dc576392e69208895f2632f49ee43903d48 (diff)
downloadpdfium-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/BC_CommonByteArray.h')
-rw-r--r--fxbarcode/common/BC_CommonByteArray.h2
1 files changed, 2 insertions, 0 deletions
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