* src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
authorDan Nicolaescu <dann@ics.uci.edu>
Sat, 13 Nov 2010 22:20:01 +0000 (14:20 -0800)
committerDan Nicolaescu <dann@ics.uci.edu>
Sat, 13 Nov 2010 22:20:01 +0000 (14:20 -0800)
src/ChangeLog
src/xmenu.c

index 26a6c4c..98054e0 100644 (file)
@@ -1,7 +1,8 @@
 2010-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       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 <term.h>.
        (tputs): Add declaration, similar to what cm.c does.  (Bug#7178)
 
index 44f1721..e8be9c6 100644 (file)
@@ -89,7 +89,9 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <X11/Xaw/Paned.h>
 #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) */