diff --git a/cobc/pplex.l b/cobc/pplex.l index 52c17fe1a..73c46128d 100644 --- a/cobc/pplex.l +++ b/cobc/pplex.l @@ -86,6 +86,7 @@ static int ppwrap (void) { #include #include #include +#include #include #ifdef HAVE_STRINGS_H #include diff --git a/cobc/scanner.l b/cobc/scanner.l index 2fedfef4f..00040867d 100644 --- a/cobc/scanner.l +++ b/cobc/scanner.l @@ -85,6 +85,7 @@ static int yywrap (void) { #include #include +#include #include #ifdef HAVE_STRINGS_H #include @@ -1391,7 +1392,7 @@ scan_ebcdic_char (int c) buff, "(1..256)"); return '?'; } - c--; // in ordinal, i.e. 1..256 -> 0..255 + c--; /* in ordinal, i.e. 1..256 -> 0..255 */ #ifdef COB_EBCDIC_MACHINE return (cob_u8_t) c; #else