diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-05-02 07:18:55 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-05-02 07:18:55 +0200 |
commit | fe33683c8bad841a1b5e947fcc6a502b85ca53cf (patch) | |
tree | dd25ba60726b8af53abc4bb069c2ebdac5ebf02d | |
parent | 43b8a1cc3825eedb85e10cbe2f91a20fbe7c4434 (diff) | |
download | busybox-w32-fe33683c8bad841a1b5e947fcc6a502b85ca53cf.tar.gz busybox-w32-fe33683c8bad841a1b5e947fcc6a502b85ca53cf.tar.bz2 busybox-w32-fe33683c8bad841a1b5e947fcc6a502b85ca53cf.zip |
Fix compile failures
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | libbb/verror_msg.c | 2 | ||||
-rw-r--r-- | miscutils/less.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libbb/verror_msg.c b/libbb/verror_msg.c index 87efb56b3..0ef2a311f 100644 --- a/libbb/verror_msg.c +++ b/libbb/verror_msg.c | |||
@@ -11,7 +11,9 @@ | |||
11 | # include <syslog.h> | 11 | # include <syslog.h> |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | #if ENABLE_FEATURE_SYSLOG | ||
14 | smallint syslog_level = LOG_ERR; | 15 | smallint syslog_level = LOG_ERR; |
16 | #endif | ||
15 | smallint logmode = LOGMODE_STDIO; | 17 | smallint logmode = LOGMODE_STDIO; |
16 | const char *msg_eol = "\n"; | 18 | const char *msg_eol = "\n"; |
17 | 19 | ||
diff --git a/miscutils/less.c b/miscutils/less.c index 36d0a0bd9..d84df469c 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -456,7 +456,7 @@ static void read_lines(void) | |||
456 | readeof = eof_error; | 456 | readeof = eof_error; |
457 | if (eof_error <= 0) | 457 | if (eof_error <= 0) |
458 | goto reached_eof; | 458 | goto reached_eof; |
459 | had_progress = 1; | 459 | IF_FEATURE_LESS_REGEXP(had_progress = 1;) |
460 | } | 460 | } |
461 | c = readbuf[readpos]; | 461 | c = readbuf[readpos]; |
462 | /* backspace? [needed for manpages] */ | 462 | /* backspace? [needed for manpages] */ |