0001-Fixed-missing-include-for-std-find_if.patch 882 B

1234567891011121314151617181920212223242526
  1. From 898a997855168c0e6a689072fefba89246271a5d Mon Sep 17 00:00:00 2001
  2. From: Nathan Moinvaziri <nathan@nathanm.com>
  3. Date: Tue, 19 Dec 2023 14:35:05 -0800
  4. Subject: [PATCH] Fixed missing include for std::find_if.
  5. Throws an error when compiling on Windows.
  6. Change-Id: Ieb34c00cf199aaa1b45a440086c48b8ed363b3c7
  7. Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5137658
  8. Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
  9. Upstream: https://github.com/google/breakpad/commit/898a997855168c0e6a689072fefba89246271a5d
  10. Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
  11. ---
  12. diff --git a/src/common/module.cc b/src/common/module.cc
  13. index 0eb5aad..b6f5da7 100644
  14. --- a/src/common/module.cc
  15. +++ b/src/common/module.cc
  16. @@ -42,6 +42,7 @@
  17. #include <stdio.h>
  18. #include <string.h>
  19. +#include <algorithm>
  20. #include <functional>
  21. #include <iostream>
  22. #include <memory>