changeset 81372:66f8afbd03d5

Link to xaw3d if available.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 13 Jun 2007 17:34:30 +0000
parents 477e245e6cf5
children 6f4d6c8ae117
files lwlib/lwlib-Xaw.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/lwlib-Xaw.c	Wed Jun 13 17:34:12 2007 +0000
+++ b/lwlib/lwlib-Xaw.c	Wed Jun 13 17:34:30 2007 +0000
@@ -35,12 +35,21 @@
 #include <X11/CoreP.h>
 #include <X11/Shell.h>
 
+#ifdef HAVE_XAW3D
+#include <X11/Xaw3d/Scrollbar.h>
+#include <X11/Xaw3d/Paned.h>
+#include <X11/Xaw3d/Dialog.h>
+#include <X11/Xaw3d/Form.h>
+#include <X11/Xaw3d/Command.h>
+#include <X11/Xaw3d/Label.h>
+#else /* !HAVE_XAW3D */
 #include <X11/Xaw/Scrollbar.h>
 #include <X11/Xaw/Paned.h>
 #include <X11/Xaw/Dialog.h>
 #include <X11/Xaw/Form.h>
 #include <X11/Xaw/Command.h>
 #include <X11/Xaw/Label.h>
+#endif /* HAVE_XAW3D */
 
 #include <X11/Xatom.h>