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 <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen
2025-10-08 17:18:31 +02:00
committed by Gabor Kelemen
parent 851fb75779
commit a8d39edda0
+4 -2
View File
@@ -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.