Skip to content

Commit 66fd3e4

Browse files
committed
unix: Use standard mphalport.h header.
This also unbreaks "make minimal".
1 parent 3a6b3d2 commit 66fd3e4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

unix/mpconfigport.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,6 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
224224
mp_obj_t keyboard_interrupt_obj; \
225225
void *mmap_region_head; \
226226

227-
#define MICROPY_MPHALPORT_H "unix_mphal.h"
228-
229227
// We need to provide a declaration/definition of alloca()
230228
#ifdef __FreeBSD__
231229
#include <stdlib.h>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2424
* THE SOFTWARE.
2525
*/
26+
#include <unistd.h>
2627

2728
#ifndef CHAR_CTRL_C
2829
#define CHAR_CTRL_C (3)

0 commit comments

Comments
 (0)