From c7a7f318ff5593331341d05a762a765f52e6bdd2 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 8 Oct 2013 22:06:40 +0300 Subject: [PATCH] Attempt to fix broken compilation on several systems due to menu.h. src/term.c: Include "../lwlib/lwlib.h" before including menu.h. --- src/term.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/term.c b/src/term.c index 44a83b6a4c8..6d53664949e 100644 --- a/src/term.c +++ b/src/term.c @@ -51,6 +51,10 @@ along with GNU Emacs. If not, see . */ static int been_here = -1; #endif +#ifdef USE_X_TOOLKIT +#include "../lwlib/lwlib.h" +#endif + #include "cm.h" #ifdef HAVE_X_WINDOWS #include "xterm.h" -- 2.39.2