summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_texttabstopscontext.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 /xfa/fxfa/cxfa_texttabstopscontext.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 'xfa/fxfa/cxfa_texttabstopscontext.h')
-rw-r--r--xfa/fxfa/cxfa_texttabstopscontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_texttabstopscontext.h b/xfa/fxfa/cxfa_texttabstopscontext.h
index 57d0489034..9837e357da 100644
--- a/xfa/fxfa/cxfa_texttabstopscontext.h
+++ b/xfa/fxfa/cxfa_texttabstopscontext.h
@@ -7,6 +7,8 @@
#ifndef XFA_FXFA_CXFA_TEXTTABSTOPSCONTEXT_H_
#define XFA_FXFA_CXFA_TEXTTABSTOPSCONTEXT_H_
+#include <stdint.h>
+
#include <vector>
struct XFA_TABSTOPS {