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>
#ifdef __arm64__
#include <stdint.h>
#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
#endif

View file

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