Skip to content

Commit 8e9482a

Browse files
author
Ilya Dmitrichenko
committed
py: don't look for any additional headers when lexerunix is disabled
1 parent 82c7b1b commit 8e9482a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

py/lexerunix.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1+
#include "misc.h"
2+
#include "mpconfig.h"
3+
4+
#if MICROPY_ENABLE_LEXER_UNIX
5+
16
#include <stdio.h>
27
#include <unistd.h>
38
#include <fcntl.h>
49

5-
#include "misc.h"
6-
#include "mpconfig.h"
710
#include "qstr.h"
811
#include "lexer.h"
912
#include "lexerunix.h"
1013

11-
#if MICROPY_ENABLE_LEXER_UNIX
1214

1315
#include <sys/stat.h>
1416
#include <sys/types.h>

0 commit comments

Comments
 (0)