summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index b2903d7e9..a7279fa9a 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -3,6 +3,10 @@
#include <gtk/gtk.h>
#include <gdk/gdk.h>
+#include <gdk/gdkkeysyms.h>
+#if GTK_CHECK_VERSION(2,22,0)
+#include <gdk/gdkkeysyms-compat.h>
+#endif
extern GtkWidget *main_window;