diff --git a/effects/desktopgrid/desktopgrid.cpp b/effects/desktopgrid/desktopgrid.cpp
index a868530846..c40e41c18d 100644
--- a/effects/desktopgrid/desktopgrid.cpp
+++ b/effects/desktopgrid/desktopgrid.cpp
@@ -31,6 +31,7 @@ along with this program. If not, see .
#include
#include
#include
+#include
#include
#include
#include
diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp
index 0091c9fb57..bbcbf621df 100755
--- a/effects/presentwindows/presentwindows.cpp
+++ b/effects/presentwindows/presentwindows.cpp
@@ -24,6 +24,7 @@ along with this program. If not, see .
#include "presentwindowsconfig.h"
#include
#include
+#include
#include
#include
#include