summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-11-09 12:33:20 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-11-09 12:33:20 -0500
commitd6233c5b3b7539469e028838b1e548b6c39ce784 (patch)
treeec9225819cab5f6c5b3bdcc411d79010e9049b13 /include/malloc.h
parent6317f0180e191fb7c426eaf38b2dd631d9694146 (diff)
Fix C/C++ errors generated by CLion IDE
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index 6efa8fbef..ae66aecb1 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -1,6 +1,8 @@
#ifndef GUARD_MALLOC_H
#define GUARD_MALLOC_H
+#include "global.h"
+
#define HEAP_SIZE 0x1C000
#define malloc Alloc
#define calloc(ct, sz) AllocZeroed((ct) * (sz))