aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas.ru@gmail.com>2019-07-30 10:01:21 +0200
committerGitHub <noreply@github.com>2019-07-30 10:01:21 +0200
commit3d1767186da60c29086f61be24f8292876afa871 (patch)
tree07837247ba26c7e389bfacd9f9773836b2654d32
parentf1124c8524647932a72b17eedf03c6ed5676fc44 (diff)
downloadbrotli-3d1767186da60c29086f61be24f8292876afa871.zip
brotli-3d1767186da60c29086f61be24f8292876afa871.tar.gz
brotli-3d1767186da60c29086f61be24f8292876afa871.tar.bz2
Fix include for EMCC build (#765)
-rwxr-xr-xc/common/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/common/platform.h b/c/common/platform.h
index b6d634e..2633e04 100755
--- a/c/common/platform.h
+++ b/c/common/platform.h
@@ -29,7 +29,7 @@
#include <brotli/port.h>
#include <brotli/types.h>
-#if defined(OS_LINUX) || defined(OS_CYGWIN)
+#if defined(OS_LINUX) || defined(OS_CYGWIN) || defined(__EMSCRIPTEN__)
#include <endian.h>
#elif defined(OS_FREEBSD)
#include <machine/endian.h>