py: don't look for any additional headers when lexerunix is disabled

This commit is contained in:
Ilya Dmitrichenko 2014-04-12 16:37:17 +01:00
parent 82c7b1b1d5
commit 8e9482a3c3
1 changed files with 5 additions and 3 deletions

View File

@ -1,14 +1,16 @@
#include "misc.h"
#include "mpconfig.h"
#if MICROPY_ENABLE_LEXER_UNIX
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "lexer.h" #include "lexer.h"
#include "lexerunix.h" #include "lexerunix.h"
#if MICROPY_ENABLE_LEXER_UNIX
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>