From bc26d7d01d4db88f9751c44795afdbfef45b79fa Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Wed, 5 Sep 2018 20:17:29 -0700 Subject: [PATCH] Fixing test compilation --- src/tests/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/tests/main.cpp b/src/tests/main.cpp index 0c7c351..849106b 100644 --- a/src/tests/main.cpp +++ b/src/tests/main.cpp @@ -1,2 +1,9 @@ #define CATCH_CONFIG_MAIN #include "catch.hpp" + +// kutil malloc/free stubs +#include +namespace kutil { + void * malloc(size_t n) { return ::malloc(n); } + void free(void *p) { ::free(p); } +}