diff options
Diffstat (limited to 'include/core_mem.h')
-rw-r--r-- | include/core_mem.h | 3 |
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) |