diff --git a/windoweffects.cpp b/windoweffects.cpp index 1b12b5fb5..c79b2d33a 100644 --- a/windoweffects.cpp +++ b/windoweffects.cpp @@ -23,6 +23,11 @@ #include +#ifdef Q_WS_X11 +#include +#include +#endif + namespace Plasma { diff --git a/windoweffects.h b/windoweffects.h index 679145c37..8c3918fb5 100644 --- a/windoweffects.h +++ b/windoweffects.h @@ -20,19 +20,10 @@ #ifndef PLASMA_WINDOWEFFECTS_H #define PLASMA_WINDOWEFFECTS_H -#include -#include +#include -#include - -#include #include -#ifdef Q_WS_X11 -#include -#include -#endif - /** @headerfile plasma/windoweffect.h */ namespace Plasma