include/desktop/crashreport.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit a8d39edda0e94926d46a9f24a824596cbdf46d92 Author: Gabor Kelemen <[email protected]> AuthorDate: Sun Oct 5 09:53:53 2025 +0200 Commit: Gabor Kelemen <[email protected]> CommitDate: Wed Oct 8 17:18:31 2025 +0200 Put headers behind #if HAVE_FEATURE_BREAKPAD that are needed for the #if HAVE_FEATURE_BREAKPAD case so that IWYU does not give incorrect warnings in --disable-breakpad builds Change-Id: I05a71ac57fc53e02b293e47a56e92f993afd0592 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191909 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <[email protected]> diff --git a/include/desktop/crashreport.hxx b/include/desktop/crashreport.hxx index 403e3117117d..e0095efc6fa9 100644 --- a/include/desktop/crashreport.hxx +++ b/include/desktop/crashreport.hxx @@ -10,13 +10,14 @@ #ifndef INCLUDED_DESKTOP_CRASHREPORT_HXX #define INCLUDED_DESKTOP_CRASHREPORT_HXX -#include <desktop/dllapi.h> #include <rtl/ustring.hxx> -#include <osl/mutex.hxx> #include <config_features.h> +#if HAVE_FEATURE_BREAKPAD +#include <desktop/dllapi.h> +#include <osl/mutex.hxx> // vector not sort the entries #include <memory> #include <vector> @@ -27,6 +28,7 @@ namespace google_breakpad { class ExceptionHandler; } +#endif /** * Provides access to the crash reporter service.
