aboutsummaryrefslogtreecommitdiff
path: root/py/objfloat.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-14 23:11:25 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-14 23:11:25 +0000
commit1ef26b35c1682637de143ccb0449acb42428ed5c (patch)
tree8fe0420245dd71452ccdb6f82c0256abcf9949b0 /py/objfloat.c
parent836e46976f27a6a0fbbbf0a28e50c27d4b3fc725 (diff)
py, extmod: Remove include of unnecessary system headers.
Diffstat (limited to 'py/objfloat.c')
-rw-r--r--py/objfloat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/objfloat.c b/py/objfloat.c
index 2e8b7f74e..b94caf3c0 100644
--- a/py/objfloat.c
+++ b/py/objfloat.c
@@ -28,7 +28,6 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#include <math.h>
#include "py/nlr.h"
#include "py/parsenum.h"
@@ -37,6 +36,8 @@
#if MICROPY_PY_BUILTINS_FLOAT
+#include <math.h>
+
#if MICROPY_FLOAT_IMPL == MICROPY_FLOAT_IMPL_FLOAT
#include "py/formatfloat.h"
#endif