Add some missing includes for system headers.
- Missing C headers found via failed gcc compilation.
- Missing STL headers found via presubmit checks.
Change-Id: Iadc59591770238776f4c16910da24df1fc54db05
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/85671
Reviewed-by: Hui Yingst <nigi@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fpdfapi/parser/cpdf_indirect_object_holder.cpp b/core/fpdfapi/parser/cpdf_indirect_object_holder.cpp
index 568c0bb..2184e57 100644
--- a/core/fpdfapi/parser/cpdf_indirect_object_holder.cpp
+++ b/core/fpdfapi/parser/cpdf_indirect_object_holder.cpp
@@ -7,6 +7,7 @@
#include "core/fpdfapi/parser/cpdf_indirect_object_holder.h"
#include <algorithm>
+#include <memory>
#include <utility>
#include "core/fpdfapi/parser/cpdf_object.h"
diff --git a/core/fxcrt/cfx_timer.h b/core/fxcrt/cfx_timer.h
index af9d157..8ecb45d 100644
--- a/core/fxcrt/cfx_timer.h
+++ b/core/fxcrt/cfx_timer.h
@@ -7,6 +7,8 @@
#ifndef CORE_FXCRT_CFX_TIMER_H_
#define CORE_FXCRT_CFX_TIMER_H_
+#include <stdint.h>
+
#include "core/fxcrt/observed_ptr.h"
#include "core/fxcrt/unowned_ptr.h"
diff --git a/fxjs/xfa/cfxjse_formcalc_context.cpp b/fxjs/xfa/cfxjse_formcalc_context.cpp
index 5e89172..30e3e82 100644
--- a/fxjs/xfa/cfxjse_formcalc_context.cpp
+++ b/fxjs/xfa/cfxjse_formcalc_context.cpp
@@ -11,8 +11,10 @@
#include <stdlib.h>
#include <algorithm>
+#include <memory>
#include <sstream>
#include <utility>
+#include <vector>
#include "core/fxcrt/cfx_datetime.h"
#include "core/fxcrt/cfx_widetextbuf.h"
diff --git a/xfa/fwl/fwl_widgetdef.h b/xfa/fwl/fwl_widgetdef.h
index 497ba8a..32d2414 100644
--- a/xfa/fwl/fwl_widgetdef.h
+++ b/xfa/fwl/fwl_widgetdef.h
@@ -7,6 +7,8 @@
#ifndef XFA_FWL_FWL_WIDGETDEF_H_
#define XFA_FWL_FWL_WIDGETDEF_H_
+#include <stdint.h>
+
// Same as enum FWL_VKEYCODE in public/fpdf_fwlevent.h, but duplicated here
// to keep xfa/fwl standalone.
enum XFA_FWL_VKEYCODE {