summaryrefslogtreecommitdiffstats
path: root/src/gui_xmebw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_xmebw.c')
-rw-r--r--src/gui_xmebw.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c
index 648eeb3183..aa22a88b18 100644
--- a/src/gui_xmebw.c
+++ b/src/gui_xmebw.c
@@ -18,13 +18,12 @@
*/
/*
- * Enhanced Motif PushButton widget with move over behaviour.
+ * Enhanced Motif PushButton widget with move over behavior.
*/
-#include <ctype.h>
-#include <stdio.h>
-#include <assert.h>
-#include <auto/config.h>
+#include "vim.h"
+
+#ifdef FEAT_TOOLBAR
#include <Xm/XmP.h>
#include <Xm/DrawP.h>
@@ -1407,3 +1406,5 @@ BorderUnhighlight(Widget w)
(*(xmPushButtonClassRec.primitive_class.border_unhighlight))(w);
draw_pixmap(eb, NULL, NULL);
}
+
+#endif /* FEAT_TOOLBAR */