summaryrefslogtreecommitdiff
path: root/src/dged/allocator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/allocator.c')
-rw-r--r--src/dged/allocator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dged/allocator.c b/src/dged/allocator.c
index 308b97c..a1f8cfb 100644
--- a/src/dged/allocator.c
+++ b/src/dged/allocator.c
@@ -1,5 +1,7 @@
#include "allocator.h"
+#include <stdlib.h>
+
struct frame_allocator frame_allocator_create(size_t capacity) {
return (struct frame_allocator){
.capacity = capacity, .offset = 0, .buf = (uint8_t *)malloc(capacity)};