diff --git a/sc2/src/sc2code/libs/callback/callback.c b/sc2/src/sc2code/libs/callback/callback.c index 41a15b95e..ff2c37db8 100644 --- a/sc2/src/sc2code/libs/callback/callback.c +++ b/sc2/src/sc2code/libs/callback/callback.c @@ -20,6 +20,7 @@ //#include #include "types.h" #include +#include "port.h" typedef struct CallbackLink CallbackLink; diff --git a/sc2/src/sc2code/libs/heap/heap.c b/sc2/src/sc2code/libs/heap/heap.c index 1dfe96932..3f4b98cf4 100644 --- a/sc2/src/sc2code/libs/heap/heap.c +++ b/sc2/src/sc2code/libs/heap/heap.c @@ -21,7 +21,7 @@ #include #include #include - +#include "port.h" static inline size_t nextPower2(size_t x); diff --git a/sc2/src/sc2code/libs/heap/heap.h b/sc2/src/sc2code/libs/heap/heap.h index 2e46fb875..9b3efbf6a 100644 --- a/sc2/src/sc2code/libs/heap/heap.h +++ b/sc2/src/sc2code/libs/heap/heap.h @@ -22,6 +22,8 @@ #include "types.h" #include +#include + typedef struct Heap Heap; typedef struct HeapValue HeapValue;