summaryrefslogtreecommitdiff
path: root/libiberty/strtoul.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2000-12-17 03:07:49 +0000
committerDJ Delorie <dj@delorie.com>2000-12-17 03:07:49 +0000
commit7f984a311315325adcea6a38fd5dd0f1e4a6fdaa (patch)
treeae5b6ced5e5289190349956e09243357b6ad1300 /libiberty/strtoul.c
parent68719044e69a7c7605a41a3730f2cff8eeb7424f (diff)
downloadgdb-7f984a311315325adcea6a38fd5dd0f1e4a6fdaa.tar.gz
* 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 ce969339bc2..66420f268b2 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 */