summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extmod/modbtree.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/extmod/modbtree.c b/extmod/modbtree.c
index 2da65a2c7..e9c760a38 100644
--- a/extmod/modbtree.c
+++ b/extmod/modbtree.c
@@ -24,16 +24,14 @@
* THE SOFTWARE.
*/
-#include <stdio.h>
-#include <string.h>
-#include <errno.h> // for declaration of global errno variable
-#include <fcntl.h>
-
#include "py/runtime.h"
#include "py/stream.h"
#if MICROPY_PY_BTREE
+#include <stdio.h>
+#include <errno.h> // for declaration of global errno variable
+#include <fcntl.h>
#include <db.h>
#include <../../btree/btree.h>