diff --git a/alloc.h b/alloc.h index 3245f55c3496bc75c70c04625ca3dcb7dd5d0afd..c23d6cef40913d5772ec91ce1df1467e84d52fc1 100644 --- a/alloc.h +++ b/alloc.h @@ -1,7 +1,13 @@ #ifndef _ALLOC_H_ #define _ALLOC_H_ - +#define false 0 +#define true 1 +#include <stdint.h> typedef struct meta_struct { + uint32_t size; + uint32_t free; + meta_struct* next; + meta_struct* prev; } meta;