diff --git a/sm.h b/sm.h
index c6ae9c41c6..803e14ad93 100644
--- a/sm.h
+++ b/sm.h
@@ -25,10 +25,12 @@ along with this program. If not, see .
#include
#include
#include
-#include
#include
#include
+#include
+#include
+
class QSocketNotifier;
namespace KWin