summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog1
-rw-r--r--src/xterm.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d477e3d2ae3..b4ec77780e4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -28,6 +28,7 @@
for g_type_init.
* xterm.c (handle_one_xevent): Do not call to x_clear_area
if GTK >= 2.7.0.
+ (toplevel) [USE_MOTIF]: Include xlwmenu.h to pacify GCC.
2013-09-16 Jan Djärv <jan.h.d@swipnet.se>
diff --git a/src/xterm.c b/src/xterm.c
index ba588157fc0..44f0efab019 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -84,7 +84,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#endif
#endif
-#ifdef USE_LUCID
+#if defined (USE_LUCID) || defined (USE_MOTIF)
#include "../lwlib/xlwmenu.h"
#endif