From: Po Lu Date: Thu, 3 Mar 2022 03:16:25 +0000 (+0800) Subject: Fix Motif build without toolkit scroll bars X-Git-Tag: emacs-29.0.90~2045 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39aac09940fa3710302819f9395fe83aa9a5f708;p=emacs.git Fix Motif build without toolkit scroll bars * src/xterm.c: Always include Xm.h on Motif. --- diff --git a/src/xterm.c b/src/xterm.c index 47f9d31ad44..6489a18f904 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -597,13 +597,15 @@ along with GNU Emacs. If not, see . */ #include #endif +#ifdef USE_MOTIF +#include +#endif + #ifdef USE_X_TOOLKIT /* Include toolkit specific headers for the scroll bar widget. */ - #ifdef USE_TOOLKIT_SCROLL_BARS #if defined USE_MOTIF -#include /* For LESSTIF_VERSION */ #include #else /* !USE_MOTIF i.e. use Xaw */