From 8e9482a3c336baccf26e26f38200ebf0e0ef3cb8 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Sat, 12 Apr 2014 16:37:17 +0100 Subject: [PATCH] py: don't look for any additional headers when lexerunix is disabled --- py/lexerunix.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/py/lexerunix.c b/py/lexerunix.c index 52fbe740ae..f66fa1e2ab 100644 --- a/py/lexerunix.c +++ b/py/lexerunix.c @@ -1,14 +1,16 @@ +#include "misc.h" +#include "mpconfig.h" + +#if MICROPY_ENABLE_LEXER_UNIX + #include #include #include -#include "misc.h" -#include "mpconfig.h" #include "qstr.h" #include "lexer.h" #include "lexerunix.h" -#if MICROPY_ENABLE_LEXER_UNIX #include #include