On M1/M2 macs, make does not work without stdint.h included in these two files
This commit is contained in:
parent
d625847124
commit
e2f05160f4
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -17,6 +17,10 @@ extern "C" {
|
|||
#include <string.h>
|
||||
#include <utils/types.h>
|
||||
|
||||
#ifdef __arm64__
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
|
Loading…
Add table
Reference in a new issue