summaryrefslogtreecommitdiff
path: root/miscutils/less.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/less.c')
-rw-r--r--miscutils/less.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 6f28200..4f00fad 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -192,7 +192,8 @@ static void less_exit(int code)
exit(code);
}
-#if ENABLE_FEATURE_LESS_LINENUMS || ENABLE_FEATURE_LESS_WINCH
+#if (ENABLE_FEATURE_LESS_DASHCMD && ENABLE_FEATURE_LESS_LINENUMS) \
+ || ENABLE_FEATURE_LESS_WINCH
static void re_wrap(void)
{
int w = width;