diff --git a/gdk/gdkx.h b/gdk/gdkx.h
deleted file mode 100644
index edb7a54a4a..0000000000
--- a/gdk/gdkx.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* GDK - The GIMP Drawing Kit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see .
- */
-
-/*
- * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
- * file for a list of people on the GTK+ Team. See the ChangeLog
- * files for a list of changes. These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
- */
-
-/* This is a kludge to be able to include gdk/gdkx.h from inside the
- * GTK source tree.
- * Also, this hopefully serves as a warning to new backends to put
- * their header into the backend dir from the start.
- */
-
-#include
diff --git a/gtk/gtkapplication-x11.c b/gtk/gtkapplication-x11.c
index 8c52be8490..0d93f3c2c1 100644
--- a/gtk/gtkapplication-x11.c
+++ b/gtk/gtkapplication-x11.c
@@ -22,7 +22,7 @@
#include "gtkapplicationprivate.h"
-#include
+#include
typedef GtkApplicationImplDBusClass GtkApplicationImplX11Class;
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index ce3accb617..0c2c41681b 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -20,7 +20,7 @@
#include
#ifdef GDK_WINDOWING_X11
-#include
+#include
#endif
#ifdef GDK_WINDOWING_WAYLAND
#include
diff --git a/testsuite/gtk/objects-finalize.c b/testsuite/gtk/objects-finalize.c
index 26b0362885..90b5045bad 100644
--- a/testsuite/gtk/objects-finalize.c
+++ b/testsuite/gtk/objects-finalize.c
@@ -20,7 +20,7 @@
#include
#ifdef GDK_WINDOWING_X11
-# include
+# include
#endif
diff --git a/testsuite/gtk/window.c b/testsuite/gtk/window.c
index 055841011d..ba289f2446 100644
--- a/testsuite/gtk/window.c
+++ b/testsuite/gtk/window.c
@@ -1,7 +1,7 @@
#include
#ifdef GDK_WINDOWING_X11
-#include
+#include
#include
#endif