Skip to content

Commit a62da51

Browse files
committed
Merge pull request adafruit#729 from stinos/fix-include-order
unix: Fix mpconfig.h not being included before misc.h
2 parents b1b8405 + 5478ed1 commit a62da51

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

unix/gccollect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
#include <stdio.h>
2828

29-
#include "misc.h"
3029
#include "mpconfig.h"
30+
#include "misc.h"
3131
#include "gc.h"
3232

3333
#if MICROPY_ENABLE_GC

unix/modos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
#include <unistd.h>
3131
#include <errno.h>
3232

33-
#include "misc.h"
3433
#include "mpconfig.h"
34+
#include "misc.h"
3535
#include "nlr.h"
3636
#include "qstr.h"
3737
#include "obj.h"

unix/modtime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
#include <sys/time.h>
3131
#include <math.h>
3232

33-
#include "misc.h"
3433
#include "mpconfig.h"
34+
#include "misc.h"
3535
#include "qstr.h"
3636
#include "obj.h"
3737
#include "runtime.h"

0 commit comments

Comments
 (0)