diff --git a/src/backends/x11/meta-idle-monitor-xsync.c b/src/backends/x11/meta-idle-monitor-xsync.c
index 0cf886630..e2dd4139f 100644
--- a/src/backends/x11/meta-idle-monitor-xsync.c
+++ b/src/backends/x11/meta-idle-monitor-xsync.c
@@ -27,9 +27,6 @@
#include "meta-backend-x11.h"
-#include
-#include "display-private.h"
-
#include
struct _MetaIdleMonitorXSync