From 2703834768f01b93e7011495fdcc04fc1738962b Mon Sep 17 00:00:00 2001 From: Herve_eruam Date: Thu, 28 Mar 2024 12:26:55 +0100 Subject: [PATCH 1/2] Include of config.h is mandatory in appserver.h for "#if defined(WITH_CRASHREPORTER) " statement. --- src/server/appserver.cpp | 1 - src/server/appserver.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/appserver.cpp b/src/server/appserver.cpp index b1e8e97ca..979a68168 100644 --- a/src/server/appserver.cpp +++ b/src/server/appserver.cpp @@ -21,7 +21,6 @@ #include "common/utility.h" #include "updater/kdcupdater.h" #include "libcommonserver/vfs.h" -#include "config.h" #include "migration/migrationparams.h" #include "updater/kdcupdater.h" #include "socketapi.h" diff --git a/src/server/appserver.h b/src/server/appserver.h index bea35db9d..3608af82c 100644 --- a/src/server/appserver.h +++ b/src/server/appserver.h @@ -35,6 +35,7 @@ #include "libcommon/info/driveinfo.h" #include "libcommon/info/syncinfo.h" #include "libcommon/info/syncfileiteminfo.h" +#include "config.h" #include #include From 1ec5c849a03ef3ba4b2b8b3264f9ee19d1abec2c Mon Sep 17 00:00:00 2001 From: Herve_eruam Date: Thu, 28 Mar 2024 12:26:55 +0100 Subject: [PATCH 2/2] KDESKTOP-683 Include of config.h is mandatory in appserver.h for "#if defined(WITH_CRASHREPORTER) " statement. --- src/server/appserver.cpp | 1 - src/server/appserver.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/appserver.cpp b/src/server/appserver.cpp index b1e8e97ca..979a68168 100644 --- a/src/server/appserver.cpp +++ b/src/server/appserver.cpp @@ -21,7 +21,6 @@ #include "common/utility.h" #include "updater/kdcupdater.h" #include "libcommonserver/vfs.h" -#include "config.h" #include "migration/migrationparams.h" #include "updater/kdcupdater.h" #include "socketapi.h" diff --git a/src/server/appserver.h b/src/server/appserver.h index bea35db9d..3608af82c 100644 --- a/src/server/appserver.h +++ b/src/server/appserver.h @@ -35,6 +35,7 @@ #include "libcommon/info/driveinfo.h" #include "libcommon/info/syncinfo.h" #include "libcommon/info/syncfileiteminfo.h" +#include "config.h" #include #include