aboutsummaryrefslogtreecommitdiff
path: root/include/core_mem.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-14 09:36:14 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-14 09:44:02 -0400
commita29bca4b79f19e9f04420b545bdec27ddc99150c (patch)
tree5c02a4e1f38ef73bd80f2334887ac0476c8ecdb7 /include/core_mem.h
parent5a9688e9e78a25a42bddfc4388fb4ce3311ded74 (diff)
downloadstasis-a29bca4b79f19e9f04420b545bdec27ddc99150c.tar.gz
Fix includes
Diffstat (limited to 'include/core_mem.h')
-rw-r--r--include/core_mem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core_mem.h b/include/core_mem.h
index 87a2a2f..bd50e9d 100644
--- a/include/core_mem.h
+++ b/include/core_mem.h
@@ -2,6 +2,9 @@
#ifndef STASIS_CORE_MEM_H
#define STASIS_CORE_MEM_H
+#include "environment.h"
+#include "strlist.h"
+
#define guard_runtime_free(X) do { if (X) { runtime_free(X); X = NULL; } } while (0)
#define guard_strlist_free(X) do { if ((*X)) { strlist_free(X); (*X) = NULL; } } while (0)
#define guard_free(X) do { if (X) { free(X); X = NULL; } } while (0)