diff --git a/main.cpp b/main.cpp index fd26847..8c79461 100644 --- a/main.cpp +++ b/main.cpp @@ -10,7 +10,9 @@ #include #include #include + #include +#include #define ANSI_COLOR_RED "\x1b[31m" #define ANSI_COLOR_GREEN "\x1b[32m" @@ -955,7 +957,7 @@ int main(int argc, char ** argv) { bool another_line=true; while (another_line) { char buf[256] = {0}; - size_t n_read; + int n_read; if(params.use_color) printf(ANSI_BOLD ANSI_COLOR_GREEN); scanf("%255[^\n]%n%*c", buf, &n_read); if(params.use_color) printf(ANSI_COLOR_RESET);