diff --git a/main.cpp b/main.cpp
index 15c2ca120f..2dcc7eaa3c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -34,11 +34,11 @@ along with this program. If not, see .
// KDE
#include
#include
+#include
#include
#include
#include
#include
-#include
#include
// Qt
#include
@@ -62,15 +62,6 @@ along with this program. If not, see .
#include
#endif // HAVE_MALLOC_H
-// XLib
-#define INT8 _X11INT8
-#define INT32 _X11INT32
-#include
-#undef INT8
-#undef INT32
-#include
-#include
-
namespace KWin
{