From 5478ed18ea4dbce3e73e2694a926118e0df1d7a7 Mon Sep 17 00:00:00 2001 From: stijn Date: Sat, 28 Jun 2014 20:49:39 +0200 Subject: [PATCH] unix: Fix mpconfig.h not being included before misc.h This fixes count_lead_ones in misc.h not compiling due to unknown types --- unix/gccollect.c | 2 +- unix/modos.c | 2 +- unix/modtime.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/unix/gccollect.c b/unix/gccollect.c index f24cc52495..be05ff3ebc 100644 --- a/unix/gccollect.c +++ b/unix/gccollect.c @@ -26,8 +26,8 @@ #include -#include "misc.h" #include "mpconfig.h" +#include "misc.h" #include "gc.h" #if MICROPY_ENABLE_GC diff --git a/unix/modos.c b/unix/modos.c index 2e02ef0aa7..9b034cdbc2 100644 --- a/unix/modos.c +++ b/unix/modos.c @@ -30,8 +30,8 @@ #include #include -#include "misc.h" #include "mpconfig.h" +#include "misc.h" #include "nlr.h" #include "qstr.h" #include "obj.h" diff --git a/unix/modtime.c b/unix/modtime.c index 006fd0ebd7..286d8ea97e 100644 --- a/unix/modtime.c +++ b/unix/modtime.c @@ -30,8 +30,8 @@ #include #include -#include "misc.h" #include "mpconfig.h" +#include "misc.h" #include "qstr.h" #include "obj.h" #include "runtime.h"