From 2f5fb82c386ffc2e2be0a2dd3e7db18acd6e8c43 Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Mon, 11 Nov 2024 23:10:34 -0500 Subject: [PATCH] find endian.h on emscripten (#82) --- src/libime/core/utils_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libime/core/utils_p.h b/src/libime/core/utils_p.h index 5915fd0..d9ad2d8 100644 --- a/src/libime/core/utils_p.h +++ b/src/libime/core/utils_p.h @@ -12,7 +12,7 @@ #include #include -#if defined(__linux__) || defined(__GLIBC__) +#if defined(__linux__) || defined(__GLIBC__) || defined(__EMSCRIPTEN__) #include #elif defined(__APPLE__) #include