build: fix compilation when CC=tcc

Signed-off-by: Mark-Weston <markweston@cock.li>
This commit is contained in:
Mark-Weston 2018-08-30 11:21:27 +03:00 committed by Benno Schulenberg
parent 921f8ae4c9
commit 13615d0953

View File

@ -229,10 +229,10 @@ regmatch_t regmatches[10];
int hilite_attribute = A_REVERSE;
/* The curses attribute we use to highlight something. */
#ifdef ENABLE_COLOR
colortype* color_combo[] = {NULL};
colortype* color_combo[NUMBER_OF_ELEMENTS] = {NULL};
/* The color combinations for interface elements given in the rcfile. */
#endif
int interface_color_pair[] = {0};
int interface_color_pair[NUMBER_OF_ELEMENTS] = {0};
/* The processed color pairs for the interface elements. */
char *homedir = NULL;