diff --git a/lib/kdecoration.cpp b/lib/kdecoration.cpp index a19a1f21f5..a2e46e7be0 100644 --- a/lib/kdecoration.cpp +++ b/lib/kdecoration.cpp @@ -27,8 +27,10 @@ DEALINGS IN THE SOFTWARE. #include #include #include +#if defined Q_WS_X11 && ! defined K_WS_QTONLY #include #include +#endif #include "kdecoration_p.h" #include "kdecorationfactory.h"