aboutsummaryrefslogtreecommitdiff
path: root/libiberty/strtoul.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-12-17 03:07:49 +0000
committerDJ Delorie <dj@redhat.com>2000-12-17 03:07:49 +0000
commitf021637a75076194663fb16185081f8a4784ea9b (patch)
tree4cceab7aba7a067fe1a733cfedd86da44d6e9857 /libiberty/strtoul.c
parent780a49fab4ab15d60ba44993cb6a5501a8cce494 (diff)
downloadgdb-f021637a75076194663fb16185081f8a4784ea9b.zip
gdb-f021637a75076194663fb16185081f8a4784ea9b.tar.gz
gdb-f021637a75076194663fb16185081f8a4784ea9b.tar.bz2
* safe-ctype.c: #include "ansidecl.h".
* strtod.c: Likewise. * strtoul.c: Include safe-ctype.h, not ctype.h.
Diffstat (limited to 'libiberty/strtoul.c')
-rw-r--r--libiberty/strtoul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/strtoul.c b/libiberty/strtoul.c
index ce96933..66420f2 100644
--- a/libiberty/strtoul.c
+++ b/libiberty/strtoul.c
@@ -37,7 +37,6 @@
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
-#include <ctype.h>
#include <errno.h>
#ifdef NEED_DECLARATION_ERRNO
extern int errno;
@@ -46,6 +45,7 @@ extern int errno;
#include <stdlib.h>
#endif
#include "ansidecl.h"
+#include "safe-ctype.h"
#ifndef ULONG_MAX
#define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF */