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>
|
#include <utils/types.h>
|
||||||
|
|
||||||
|
#ifdef __arm64__
|
||||||
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
DRAM_LIB = 0, // DRAM library.
|
DRAM_LIB = 0, // DRAM library.
|
||||||
|
|
|
@ -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
|
||||||
*********************/
|
*********************/
|
||||||
|
|
Loading…
Add table
Reference in a new issue