chromium-112-gcc-13-0020-pdfium.patch 914 B

12345678910111213141516171819202122232425262728
  1. https://pdfium-review.googlesource.com/c/pdfium/+/105890
  2. From 5d9acaac1abbbe45558f2bd6cbd3b3e9efde4414 Mon Sep 17 00:00:00 2001
  3. From: Stephan Hartmann <stha09@googlemail.com>
  4. Date: Wed, 05 Apr 2023 16:10:25 +0000
  5. Subject: [PATCH] IWYU: add stdint.h for uint32_t pdfium::annotation_flags
  6. Bug: chromium:957519
  7. Change-Id: Id10921a5fdf93a3b92c76c84266696e92d901bd5
  8. Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/105890
  9. Reviewed-by: Lei Zhang <thestig@chromium.org>
  10. Commit-Queue: Lei Zhang <thestig@chromium.org>
  11. ---
  12. diff --git a/constants/annotation_flags.h b/constants/annotation_flags.h
  13. index 2ac244e..d44a0c1 100644
  14. --- a/third_party/pdfium/constants/annotation_flags.h
  15. +++ b/third_party/pdfium/constants/annotation_flags.h
  16. @@ -5,6 +5,8 @@
  17. #ifndef CONSTANTS_ANNOTATION_FLAGS_H_
  18. #define CONSTANTS_ANNOTATION_FLAGS_H_
  19. +#include <stdint.h>
  20. +
  21. namespace pdfium {
  22. namespace annotation_flags {