[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 39aac09940: Fix Motif build without toolkit scroll bars
From: |
Po Lu |
Subject: |
master 39aac09940: Fix Motif build without toolkit scroll bars |
Date: |
Wed, 2 Mar 2022 22:18:05 -0500 (EST) |
branch: master
commit 39aac09940fa3710302819f9395fe83aa9a5f708
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix Motif build without toolkit scroll bars
* src/xterm.c: Always include Xm.h on Motif.
---
src/xterm.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index 47f9d31ad4..6489a18f90 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -597,13 +597,15 @@ along with GNU Emacs. If not, see
<https://www.gnu.org/licenses/>. */
#include <cairo-xlib.h>
#endif
+#ifdef USE_MOTIF
+#include <Xm/Xm.h>
+#endif
+
#ifdef USE_X_TOOLKIT
/* Include toolkit specific headers for the scroll bar widget. */
-
#ifdef USE_TOOLKIT_SCROLL_BARS
#if defined USE_MOTIF
-#include <Xm/Xm.h> /* For LESSTIF_VERSION */
#include <Xm/ScrollBar.h>
#else /* !USE_MOTIF i.e. use Xaw */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 39aac09940: Fix Motif build without toolkit scroll bars,
Po Lu <=