aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-09 00:09:59 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-09 00:09:59 +0000
commit84aa998a2a79b38285485e8a634d767a3574583e (patch)
treec7850b90d869e98ea5017aa1bcaafa309452e38b
parenta5756c309355744fcca7ea93d2fe58ca70f2dbfa (diff)
parent4fca542dc9b822568a13cdc15dde1a643c6fd02a (diff)
downloadpdfium-84aa998a2a79b38285485e8a634d767a3574583e.tar.gz
Change-Id: Ifdd29b90fb1b8748fed9603cdef95952637c2674
-rw-r--r--public/cpp/fpdf_deleters.h18
-rw-r--r--public/cpp/fpdf_scopers.h2
-rw-r--r--public/fpdfview.h2
3 files changed, 12 insertions, 10 deletions
diff --git a/public/cpp/fpdf_deleters.h b/public/cpp/fpdf_deleters.h
index d58f8d593..55b85d9ed 100644
--- a/public/cpp/fpdf_deleters.h
+++ b/public/cpp/fpdf_deleters.h
@@ -5,15 +5,15 @@
#ifndef PUBLIC_CPP_FPDF_DELETERS_H_
#define PUBLIC_CPP_FPDF_DELETERS_H_
-#include "public/fpdf_annot.h"
-#include "public/fpdf_dataavail.h"
-#include "public/fpdf_edit.h"
-#include "public/fpdf_formfill.h"
-#include "public/fpdf_javascript.h"
-#include "public/fpdf_structtree.h"
-#include "public/fpdf_text.h"
-#include "public/fpdf_transformpage.h"
-#include "public/fpdfview.h"
+#include "../fpdf_annot.h"
+#include "../fpdf_dataavail.h"
+#include "../fpdf_edit.h"
+#include "../fpdf_formfill.h"
+#include "../fpdf_javascript.h"
+#include "../fpdf_structtree.h"
+#include "../fpdf_text.h"
+#include "../fpdf_transformpage.h"
+#include "../fpdfview.h"
// Custom deleters for using FPDF_* types with std::unique_ptr<>.
diff --git a/public/cpp/fpdf_scopers.h b/public/cpp/fpdf_scopers.h
index fd9ce6997..34cf9c46a 100644
--- a/public/cpp/fpdf_scopers.h
+++ b/public/cpp/fpdf_scopers.h
@@ -8,7 +8,7 @@
#include <memory>
#include <type_traits>
-#include "public/cpp/fpdf_deleters.h"
+#include "fpdf_deleters.h"
// Versions of FPDF types that clean up the object at scope exit.
diff --git a/public/fpdfview.h b/public/fpdfview.h
index 0c901a753..3cf65d5e0 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -22,6 +22,8 @@
#include <stddef.h>
+typedef __SIZE_TYPE__ size_t;
+
#if defined(_WIN32) && !defined(__WINDOWS__)
#include <windows.h>
#endif