aboutsummaryrefslogtreecommitdiffstats
path: root/src/nice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nice.c')
-rw-r--r--src/nice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nice.c b/src/nice.c
index 58ab59fd3..e935191be 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -29,6 +29,7 @@
# include <sys/resource.h>
#endif
+#include "c-ctype.h"
#include "quote.h"
#include "xstrtol.h"
@@ -118,7 +119,7 @@ main (int argc, char **argv)
{
char const *s = argv[i];
- if (s[0] == '-' && ISDIGIT (s[1 + (s[1] == '-' || s[1] == '+')]))
+ if (s[0] == '-' && c_isdigit (s[1 + (s[1] == '-' || s[1] == '+')]))
{
adjustment_given = s + 1;
++i;