diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-08 16:39:41 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-08 16:39:41 -0500 |
commit | 835f9f950e2f6059532bd9ab9857a856ed21a4fd (patch) | |
tree | 496ea32dceca7e6573a534dfcfab26e322f0a0c6 /src/stdlib/strtol.c | |
parent | 1e717ea3d2a864e00e507f1a70a892c551955f1b (diff) | |
download | musl-835f9f950e2f6059532bd9ab9857a856ed21a4fd.tar.gz musl-835f9f950e2f6059532bd9ab9857a856ed21a4fd.tar.bz2 musl-835f9f950e2f6059532bd9ab9857a856ed21a4fd.tar.xz musl-835f9f950e2f6059532bd9ab9857a856ed21a4fd.zip |
clean up stdio_impl.h
this header evolved to facilitate the extremely lazy practice of
omitting explicit includes of the necessary headers in individual
stdio source files; not only was this sloppy, but it also increased
build time.
now, stdio_impl.h is only including the headers it needs for its own
use; any further headers needed by source files are included directly
where needed.
Diffstat (limited to 'src/stdlib/strtol.c')
-rw-r--r-- | src/stdlib/strtol.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdlib/strtol.c b/src/stdlib/strtol.c index 23a2f3b6..7ee88794 100644 --- a/src/stdlib/strtol.c +++ b/src/stdlib/strtol.c @@ -1,6 +1,9 @@ #include "stdio_impl.h" #include "intscan.h" #include "shgetc.h" +#include <inttypes.h> +#include <limits.h> +#include <ctype.h> static unsigned long long strtox(const char *s, char **p, int base, unsigned long long lim) { |