From: Glenn Morris Date: Sun, 27 Aug 2017 17:06:30 +0000 (-0700) Subject: Fix previous xterm.h change for non-gtk builds X-Git-Tag: emacs-26.0.90~332 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c99507645a2dbcb08224c8075bc6675dd1b09bbc;p=emacs.git Fix previous xterm.h change for non-gtk builds * src/xterm.h (GTK_CHECK_VERSION) [!USE_GTK]: Define it. --- 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