From 665b0cef52a1223edb25c90679d8acf32da39878 Mon Sep 17 00:00:00 2001 From: avolkov Date: Fri, 11 Aug 2006 20:03:12 +0000 Subject: [PATCH] Added includes for Windows port git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2409 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/callback/callback.c | 1 + sc2/src/sc2code/libs/heap/heap.c | 2 +- sc2/src/sc2code/libs/heap/heap.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) 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;