changeset 111534:e9570ce66184

* src/xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 13 Nov 2010 14:20:01 -0800
parents a702e5199b83
children c7ebfc6cd27a
files src/ChangeLog src/xmenu.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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  <dann@ics.uci.edu>
 
+	* 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)
 
--- 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 <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 @@
 #endif
 }
 
-/* arch-tag: 92ea573c-398e-496e-ac73-2436f7d63242
-   (do not change this comment) */