aboutsummaryrefslogtreecommitdiffstats
path: root/src/factor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/factor.c')
-rw-r--r--src/factor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/factor.c b/src/factor.c
index 85cd1b1c9..04aa8806e 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -109,6 +109,7 @@
#include "system.h"
#include "assure.h"
+#include "c-ctype.h"
#include "full-write.h"
#include "quote.h"
#include "readtokens.h"
@@ -2257,7 +2258,7 @@ strto2uintmax (uintmax_t *hip, uintmax_t *lop, char const *s)
if (c == 0)
break;
- if (UNLIKELY (!ISDIGIT (c)))
+ if (UNLIKELY (!c_isdigit (c)))
{
err = LONGINT_INVALID;
break;