From c10154979548fd02bf5ebd64b315fdedfc7572d7 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 19 Jan 2022 15:43:12 +0100 Subject: [PATCH] w3_defs.h: Ensure that endian.h or stdint.h is included before using uint* (#304) This is an addendum to my previous patch as it missed to ensure inclusion of some header that provides uint*. It worked for me only because of local flags to add this include --- source/wasm3_defs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/wasm3_defs.h b/source/wasm3_defs.h index a31e994..b699b52 100644 --- a/source/wasm3_defs.h +++ b/source/wasm3_defs.h @@ -233,6 +233,8 @@ # else # ifdef __linux__ # include +# else +# include # endif # if defined(__bswap_16) # define m3_bswap16(x) __bswap_16((x))