diff --git a/src/corelib/configure.json b/src/corelib/configure.json index a5b69a2df6..3db9942123 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -178,7 +178,7 @@ "slog2": { "label": "slog2", "test": { - "include": "slog2.h", + "include": "sys/slog2.h", "main": "slog2_set_default_buffer((slog2_buffer_t)-1);" }, "export": "", diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp index b5ba935194..1307118bdf 100644 --- a/src/corelib/global/qlogging.cpp +++ b/src/corelib/global/qlogging.cpp @@ -61,7 +61,7 @@ #include #endif #if QT_CONFIG(slog2) -#include +#include #endif #ifdef Q_OS_ANDROID