summaryrefslogtreecommitdiffstats
path: root/pdfium-iwyu-add-stdint.h-for-uint32_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pdfium-iwyu-add-stdint.h-for-uint32_t.patch')
-rw-r--r--pdfium-iwyu-add-stdint.h-for-uint32_t.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/pdfium-iwyu-add-stdint.h-for-uint32_t.patch b/pdfium-iwyu-add-stdint.h-for-uint32_t.patch
new file mode 100644
index 0000000..a4dd838
--- /dev/null
+++ b/pdfium-iwyu-add-stdint.h-for-uint32_t.patch
@@ -0,0 +1,27 @@
+From 5d9acaac1abbbe45558f2bd6cbd3b3e9efde4414 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09@googlemail.com>
+Date: Wed, 5 Apr 2023 16:10:25 +0000
+Subject: [PATCH] IWYU: add stdint.h for uint32_t pdfium::annotation_flags
+
+Bug: chromium:957519
+Change-Id: Id10921a5fdf93a3b92c76c84266696e92d901bd5
+Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/105890
+Reviewed-by: Lei Zhang <thestig@chromium.org>
+Commit-Queue: Lei Zhang <thestig@chromium.org>
+---
+ constants/annotation_flags.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/constants/annotation_flags.h b/constants/annotation_flags.h
+index 2ac244e06..d44a0c13c 100644
+--- a/constants/annotation_flags.h
++++ b/constants/annotation_flags.h
+@@ -5,6 +5,8 @@
+ #ifndef CONSTANTS_ANNOTATION_FLAGS_H_
+ #define CONSTANTS_ANNOTATION_FLAGS_H_
+
++#include <stdint.h>
++
+ namespace pdfium {
+ namespace annotation_flags {
+