On M1/M2 macs, make does not work without stdint.h included in these two files

This commit is contained in:
Jason Storey 2023-05-08 11:04:07 -07:00
parent d625847124
commit e2f05160f4
2 changed files with 9 additions and 1 deletions

View file

@ -20,6 +20,10 @@
#include <utils/types.h> #include <utils/types.h>
#ifdef __arm64__
#include <stdint.h>
#endif
typedef enum typedef enum
{ {
DRAM_LIB = 0, // DRAM library. DRAM_LIB = 0, // DRAM library.

View file

@ -17,6 +17,10 @@ extern "C" {
#include <string.h> #include <string.h>
#include <utils/types.h> #include <utils/types.h>
#ifdef __arm64__
#include <stdint.h>
#endif
/********************* /*********************
* DEFINES * DEFINES
*********************/ *********************/