diff options
Diffstat (limited to 'lib/libc/inttypes')
| -rw-r--r-- | lib/libc/inttypes/imaxabs.c | 3 | ||||
| -rw-r--r-- | lib/libc/inttypes/strtoumax.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/inttypes/imaxabs.c b/lib/libc/inttypes/imaxabs.c index c5137ecc..cbf46d14 100644 --- a/lib/libc/inttypes/imaxabs.c +++ b/lib/libc/inttypes/imaxabs.c @@ -1,4 +1,5 @@ -#include <stdint.h> // for intmax_t +#include <inttypes.h> // for imaxabs +#include <stdint.h> // for intmax_t intmax_t imaxabs(intmax_t j) { diff --git a/lib/libc/inttypes/strtoumax.c b/lib/libc/inttypes/strtoumax.c index 46eecf06..73d2c77c 100644 --- a/lib/libc/inttypes/strtoumax.c +++ b/lib/libc/inttypes/strtoumax.c @@ -1,5 +1,6 @@ -#include <stdint.h> // for uintmax_t -#include <stdlib.h> // for strtoull +#include <inttypes.h> // for strtoumax +#include <stdint.h> // for uintmax_t +#include <stdlib.h> // for strtoull uintmax_t strtoumax(const char *restrict s, char **restrict p, int base) { |
