summaryrefslogtreecommitdiffhomepage
path: root/src/fmt_fp.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-11-26 09:14:12 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-11-26 09:14:12 +0900
commit50b57f6ff1444d2e9aada9055249c043bfc6bdf9 (patch)
treef236099efe853ccf4f3f00a4d2119995661642a6 /src/fmt_fp.c
parent2daf1987f9b8364bfb464bf1fb335b68b54b6396 (diff)
downloadmruby-50b57f6ff1444d2e9aada9055249c043bfc6bdf9.tar.gz
mruby-50b57f6ff1444d2e9aada9055249c043bfc6bdf9.zip
Include `mruby.h` instead of `mrbconf.h` directly.
Diffstat (limited to 'src/fmt_fp.c')
-rw-r--r--src/fmt_fp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index 9ee314760..c46baabbc 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -1,5 +1,5 @@
-#include <mrbconf.h>
-#ifndef MRB_NO_FLOAT
+#include <mruby.h>
+#if !defined(MRB_NO_FLOAT)
#if defined(MRB_NO_STDIO) || defined(_WIN32) || defined(_WIN64)
/*
@@ -35,7 +35,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <float.h>
#include <ctype.h>
-#include <mruby.h>
#include <mruby/string.h>
struct fmt_args;