diff options
Diffstat (limited to 'compat/strtol.c')
| -rw-r--r-- | compat/strtol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compat/strtol.c b/compat/strtol.c index b111d97..793f094 100644 --- a/compat/strtol.c +++ b/compat/strtol.c @@ -10,6 +10,7 @@ * this file, and for a DISCLAIMER OF ALL WARRANTIES. */ +#include <ctype.h> #include "tclInt.h" /* @@ -33,7 +34,7 @@ long int strtol( - const char *string, /* String of ASCII digits, possibly preceded + CONST char *string, /* String of ASCII digits, possibly preceded * by white space. For bases greater than 10, * either lower- or upper-case digits may be * used. */ @@ -45,7 +46,7 @@ strtol( * hex, "0" means octal, anything else means * decimal. */ { - register const char *p; + register CONST char *p; long result; /* |
