From: Dan Nicolaescu Date: Sat, 13 Nov 2010 22:20:01 +0000 (-0800) Subject: * src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~250 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/c865c57571e31830bf6a3cd452461599892dec64 * src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif. --- diff --git a/src/ChangeLog b/src/ChangeLog index 26a6c4c5b8..98054e08d4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,8 @@ 2010-11-13 Dan Nicolaescu - Fix compilation on Solaris. + * xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif. + Fix compilation on Solaris. * sysdep.c: Do not #include . (tputs): Add declaration, similar to what cm.c does. (Bug#7178) diff --git a/src/xmenu.c b/src/xmenu.c index 44f1721d65..e8be9c6ad4 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -89,7 +89,9 @@ along with GNU Emacs. If not, see . */ #include #endif /* HAVE_XAW3D */ #endif /* USE_LUCID */ +#ifdef USE_MOTIF #include "../lwlib/lwlib.h" +#endif #else /* not USE_X_TOOLKIT */ #ifndef USE_GTK #include "../oldXMenu/XMenu.h" @@ -2581,5 +2583,3 @@ syms_of_xmenu (void) #endif } -/* arch-tag: 92ea573c-398e-496e-ac73-2436f7d63242 - (do not change this comment) */