summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Anderson <thomasanderson@chromium.org>2018-03-29 18:07:40 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-29 18:07:40 +0000
commit8f4f0ede809a9bae283538f5c6930c5d7ba13585 (patch)
tree4456408ef7afbdaa5cb599299b72094d5fb4fcc5
parent3b76ebd5605488e0489938bd9326cf51c8be56c1 (diff)
downloadpdfium-8f4f0ede809a9bae283538f5c6930c5d7ba13585.tar.xz
Fix use_custom_libcxx=false build on Linuxchromium/3386chromium/3385chromium/3384
BUG=None R=thestig Change-Id: I17b251faba0e9b8b79fd6b12193add2d61f69c0b Reviewed-on: https://pdfium-review.googlesource.com/29450 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
-rw-r--r--samples/pdfium_test_dump_helper.cc4
-rw-r--r--samples/pdfium_test_write_helper.cc2
2 files changed, 6 insertions, 0 deletions
diff --git a/samples/pdfium_test_dump_helper.cc b/samples/pdfium_test_dump_helper.cc
index 5d7af1c257..729a4cd152 100644
--- a/samples/pdfium_test_dump_helper.cc
+++ b/samples/pdfium_test_dump_helper.cc
@@ -4,6 +4,10 @@
#include "samples/pdfium_test_dump_helper.h"
+#include <string.h>
+
+#include <algorithm>
+#include <memory>
#include <string>
#include <utility>
diff --git a/samples/pdfium_test_write_helper.cc b/samples/pdfium_test_write_helper.cc
index a323658378..5a2e0f66ce 100644
--- a/samples/pdfium_test_write_helper.cc
+++ b/samples/pdfium_test_write_helper.cc
@@ -4,6 +4,8 @@
#include "samples/pdfium_test_write_helper.h"
+#include <limits.h>
+
#include <memory>
#include <vector>