summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lwlib/lwlib-Xaw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c
index ea8ee3fb890..07dc41e730d 100644
--- a/lwlib/lwlib-Xaw.c
+++ b/lwlib/lwlib-Xaw.c
@@ -633,6 +633,8 @@ xaw_create_scrollbar (instance)
(XtPointer) instance);
return scrollbar;
+#else
+ return NULL;
#endif
}