From c0035d16941adf867b7bdb2c8e6cf2248a732be7 Mon Sep 17 00:00:00 2001 From: Alex March Date: Fri, 18 Sep 2015 21:18:21 +0100 Subject: [PATCH] unix: Use MICROPY_HAL_H macro for header inclusion. Follow the same format as other ports using the macro to include the HAL header. --- unix/main.c | 2 +- unix/unix_mphal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/main.c b/unix/main.c index 651c3836cc..3e43586721 100644 --- a/unix/main.c +++ b/unix/main.c @@ -45,7 +45,7 @@ #include "py/gc.h" #include "py/stackctrl.h" #include "genhdr/mpversion.h" -#include "unix_mphal.h" +#include MICROPY_HAL_H #include "input.h" // Command line options, with their defaults diff --git a/unix/unix_mphal.c b/unix/unix_mphal.c index 1f545f9e51..11cd03344d 100644 --- a/unix/unix_mphal.c +++ b/unix/unix_mphal.c @@ -29,7 +29,7 @@ #include #include "py/mpstate.h" -#include "unix_mphal.h" +#include MICROPY_HAL_H #ifndef _WIN32 #include