summaryrefslogtreecommitdiff
path: root/core/mem/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/mem/malloc.h')
-rw-r--r--core/mem/malloc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/mem/malloc.h b/core/mem/malloc.h
index d0d135bc..4611a306 100644
--- a/core/mem/malloc.h
+++ b/core/mem/malloc.h
@@ -7,6 +7,9 @@
#include <stdint.h>
#include <stddef.h>
#include "core.h"
+#include "thread.h"
+
+extern struct semaphore __malloc_semaphore;
/*
* This is a temporary hack. In Syslinux 5 this will be a pointer to