# HG changeset patch # User Dan Nicolaescu # Date 1289686801 28800 # Node ID e9570ce6618448dd4ddae0ed11eda39d8619a251 # Parent a702e5199b830ea0f102bdaf50dd8bbaca3d09d3 * src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif. diff -r a702e5199b83 -r e9570ce66184 src/ChangeLog --- a/src/ChangeLog Sat Nov 13 14:17:22 2010 -0800 +++ b/src/ChangeLog Sat Nov 13 14:20:01 2010 -0800 @@ -1,7 +1,8 @@ 2010-11-13 Dan Nicolaescu + * 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 -r a702e5199b83 -r e9570ce66184 src/xmenu.c --- a/src/xmenu.c Sat Nov 13 14:17:22 2010 -0800 +++ b/src/xmenu.c Sat Nov 13 14:20:01 2010 -0800 @@ -89,7 +89,9 @@ #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 @@ #endif } -/* arch-tag: 92ea573c-398e-496e-ac73-2436f7d63242 - (do not change this comment) */