From c99507645a2dbcb08224c8075bc6675dd1b09bbc Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 27 Aug 2017 10:06:30 -0700 Subject: [PATCH] Fix previous xterm.h change for non-gtk builds * src/xterm.h (GTK_CHECK_VERSION) [!USE_GTK]: Define it. --- src/xterm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xterm.h b/src/xterm.h index 8521cb4c9f3..b16d3023f0a 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -48,6 +48,7 @@ typedef Widget xt_or_gtk_widget; #ifdef USE_GTK #include #include +#endif /* USE_GTK */ /* True iff GTK's version is at least I.J.K. */ #ifndef GTK_CHECK_VERSION @@ -62,6 +63,7 @@ typedef Widget xt_or_gtk_widget; # endif #endif +#ifdef USE_GTK /* Some definitions to reduce conditionals. */ typedef GtkWidget *xt_or_gtk_widget; #undef XSync -- 2.39.2