From: rexim Date: Sat, 11 Jan 2020 19:19:40 +0000 (+0700) Subject: Fix cmake compilation X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=69d167499dfc6b9f4f41bf02c5fb184ee771a85a;p=nothing.git Fix cmake compilation --- diff --git a/src/dynarray.h b/src/dynarray.h index 1a8a5ec2..a6476f83 100644 --- a/src/dynarray.h +++ b/src/dynarray.h @@ -4,6 +4,8 @@ #include #include #include +#include "system/memory.h" +#include "system/stacktrace.h" #define DYNARRAY_CAPACITY 256 diff --git a/src/ring_buffer.h b/src/ring_buffer.h index 8728e216..a1749744 100644 --- a/src/ring_buffer.h +++ b/src/ring_buffer.h @@ -7,6 +7,8 @@ #include #include +#include "system/memory.h" + typedef void (*RingBufferDtor)(void *element); typedef struct {