From e2f05160f40513e8656f18ad6d9469190d7055ae Mon Sep 17 00:00:00 2001 From: Jason Storey Date: Mon, 8 May 2023 11:04:07 -0700 Subject: [PATCH 1/2] On M1/M2 macs, make does not work without stdint.h included in these two files --- bdk/ianos/ianos.h | 6 +++++- bdk/libs/lvgl/lv_misc/lv_area.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bdk/ianos/ianos.h b/bdk/ianos/ianos.h index 5ebec64..ae8589c 100644 --- a/bdk/ianos/ianos.h +++ b/bdk/ianos/ianos.h @@ -20,6 +20,10 @@ #include +#ifdef __arm64__ +#include +#endif + typedef enum { DRAM_LIB = 0, // DRAM library. @@ -31,4 +35,4 @@ typedef enum uintptr_t ianos_loader(char *path, elfType_t type, void* config); -#endif \ No newline at end of file +#endif diff --git a/bdk/libs/lvgl/lv_misc/lv_area.h b/bdk/libs/lvgl/lv_misc/lv_area.h index 63ea059..36b67e4 100644 --- a/bdk/libs/lvgl/lv_misc/lv_area.h +++ b/bdk/libs/lvgl/lv_misc/lv_area.h @@ -17,6 +17,10 @@ extern "C" { #include #include +#ifdef __arm64__ +#include +#endif + /********************* * DEFINES *********************/ From 5fdbe8bb1c2b328f481de8d0b54e74a6cb3c01e1 Mon Sep 17 00:00:00 2001 From: Jason Storey Date: Mon, 8 May 2023 11:11:53 -0700 Subject: [PATCH 2/2] remove newline