* strtoul.c: Include safe-ctype.h, not ctype.h.

From-SVN: r38221
This commit is contained in:
Michael Sokolov 2000-12-13 17:44:01 +00:00 committed by DJ Delorie
parent c6d79beefd
commit 75444da786
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* strtoul.c: Include safe-ctype.h, not ctype.h.
2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
* safe-ctype.c: New file.

View File

@ -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 */