diff --git a/clients/aurorae/src/aurorae.cpp b/clients/aurorae/src/aurorae.cpp
index c8b508bdc4..7de75850e4 100644
--- a/clients/aurorae/src/aurorae.cpp
+++ b/clients/aurorae/src/aurorae.cpp
@@ -34,6 +34,7 @@ along with this program. If not, see .
#include
#include
+#include
#include
#include
diff --git a/effects/startupfeedback/startupfeedback.cpp b/effects/startupfeedback/startupfeedback.cpp
index 8143208229..bc87ee89f5 100644
--- a/effects/startupfeedback/startupfeedback.cpp
+++ b/effects/startupfeedback/startupfeedback.cpp
@@ -26,6 +26,7 @@ along with this program. If not, see .
#include
// KDE
#include
+#include
#include
#include
#include
diff --git a/scripting/genericscriptedconfig.h b/scripting/genericscriptedconfig.h
index 7d768913fe..8950f3c2e5 100644
--- a/scripting/genericscriptedconfig.h
+++ b/scripting/genericscriptedconfig.h
@@ -23,6 +23,7 @@
#include
#include
+#include
namespace KWin
{
diff --git a/tabbox/tabboxhandler.cpp b/tabbox/tabboxhandler.cpp
index c712a6b369..d95c7dbacb 100644
--- a/tabbox/tabboxhandler.cpp
+++ b/tabbox/tabboxhandler.cpp
@@ -35,6 +35,7 @@ along with this program. If not, see .
#include
#include
#include
+#include
#include
#include
#include