From c78e268845e980e9e7ed1583c0581615d52580d5 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Sat, 26 Aug 2023 02:25:52 +0100 Subject: libunit-wasm: Include strings.h in the right file When I added the luw_http_hdr_get_value() function I needed to include strings.h, unfortunately I added it to unit-wasm.h instead of libunit-wasm.c This had the undesirable effect of requiring the wasi-sysroot when building the rust stuff for generating the libunit-wasm rust bindings. By including strings.h in the right file we get rid of that requirement which a subsequent commit will take care of. Signed-off-by: Andrew Clayton --- src/c/libunit-wasm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/c/libunit-wasm.c') diff --git a/src/c/libunit-wasm.c b/src/c/libunit-wasm.c index 1860fe3..39cda22 100644 --- a/src/c/libunit-wasm.c +++ b/src/c/libunit-wasm.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include "unit/unit-wasm.h" -- cgit