From 20c8a80964db7aec94670ce4b3e15ae68ee5dcc4 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Mon, 30 Jun 2025 21:46:45 -0400 Subject: [PATCH] tests: depend on stdlib and new libhexagonrpc header file Both the hexagonfs and iobuffer tests need malloc and free. The iobuffer test also needs REMOTE_SCALARS_MAKE. Include stdlib directly and include the new libhexagonrpc header file. Signed-off-by: Richard Acayan --- tests/test_hexagonfs.c | 2 +- tests/test_iobuffer.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_hexagonfs.c b/tests/test_hexagonfs.c index ae9ee7a..38e767d 100644 --- a/tests/test_hexagonfs.c +++ b/tests/test_hexagonfs.c @@ -20,8 +20,8 @@ */ #include -#include #include +#include #include #include diff --git a/tests/test_iobuffer.c b/tests/test_iobuffer.c index 99da73f..a252f24 100644 --- a/tests/test_iobuffer.c +++ b/tests/test_iobuffer.c @@ -19,7 +19,8 @@ * along with this program. If not, see . */ -#include +#include +#include #include #include "../hexagonrpcd/iobuffer.h"