From 6037618942c33f96cae88474f81d6c5a43a28db0 Mon Sep 17 00:00:00 2001 From: Ivan Kolesikov Date: Fri, 9 Dec 2022 00:24:53 +0100 Subject: [PATCH] Fix missing abs declaration on Emscripten --- include/cglm/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/cglm/common.h b/include/cglm/common.h index 4d2e199..1aec59b 100644 --- a/include/cglm/common.h +++ b/include/cglm/common.h @@ -18,6 +18,9 @@ #include #include +#ifdef __EMSCRIPTEN__ +#include +#endif #include #include #include