Fix the following build failure with gcc 4.8 raised since bump to
version 4.8.26 in commit e648dfa6f7 and
8b4386df83:
tty-ncurses.c: In function 'tty_colorize_area':
tty-ncurses.c:575:5: error: 'for' loop initial declarations are only allowed in C99 mode
for (int row = 0; row < rows; row++)
^
Fixes:
- http://autobuild.buildroot.org/results/d9f0a11bde42fe6ae2e9449d3365609d59a6545d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit c99d2d3429)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>