diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-08-23 07:34:37 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-23 07:34:37 +0900 |
| commit | 11cfe77eb1675d461709bda4e413ee2966945195 (patch) | |
| tree | efbed032f9c4d2e7ef1bc18ed3aa49379caedd02 /mrbgems/mruby-sprintf | |
| parent | 0f3671044500a882d47cd992589064d04aa867b5 (diff) | |
| parent | 5a576028607c4bd7b46e8b1d2726329355d4bc03 (diff) | |
| download | mruby-11cfe77eb1675d461709bda4e413ee2966945195.tar.gz mruby-11cfe77eb1675d461709bda4e413ee2966945195.zip | |
Merge pull request #5537 from dearblue/header-files
Organize the include of header files
Diffstat (limited to 'mrbgems/mruby-sprintf')
| -rw-r--r-- | mrbgems/mruby-sprintf/src/sprintf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c index 362d24651..ba5ba4cda 100644 --- a/mrbgems/mruby-sprintf/src/sprintf.c +++ b/mrbgems/mruby-sprintf/src/sprintf.c @@ -5,14 +5,11 @@ */ #include <mruby.h> -#include <string.h> #include <mruby/string.h> #include <mruby/hash.h> #include <mruby/numeric.h> #include <mruby/presym.h> -#ifndef MRB_NO_FLOAT -#include <math.h> -#endif +#include <string.h> #include <ctype.h> #define BIT_DIGITS(N) (((N)*146)/485 + 1) /* log2(10) =~ 146/485 */ |
