diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-02 17:47:01 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-05-02 17:48:40 +0300 |
commit | f54bcbf0997211a3d2a04bab09c79f602fa0c8e9 (patch) | |
tree | 66b17f3c5632a9cc8f4447d0971338d4d93f244b /unix | |
parent | e0954d426fdd1cdf2027963c80977ea373acb19e (diff) | |
download | micropython-f54bcbf0997211a3d2a04bab09c79f602fa0c8e9.tar.gz micropython-f54bcbf0997211a3d2a04bab09c79f602fa0c8e9.zip |
py, unix: Make "mpconfig.h" be first included, as other headers depend on it.
Specifically, nlr.h does.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/file.c | 2 | ||||
-rw-r--r-- | unix/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/file.c b/unix/file.c index 041e28e956..04305cac7a 100644 --- a/unix/file.c +++ b/unix/file.c @@ -5,9 +5,9 @@ #include <sys/stat.h> #include <sys/types.h> +#include "mpconfig.h" #include "nlr.h" #include "misc.h" -#include "mpconfig.h" #include "qstr.h" #include "obj.h" #include "runtime.h" diff --git a/unix/main.c b/unix/main.c index 4c86edeae5..e677ff65d0 100644 --- a/unix/main.c +++ b/unix/main.c @@ -8,9 +8,9 @@ #include <sys/types.h> #include <errno.h> +#include "mpconfig.h" #include "nlr.h" #include "misc.h" -#include "mpconfig.h" #include "qstr.h" #include "lexer.h" #include "lexerunix.h" |