Fix include for EMCC build (#765)

This commit is contained in:
Eugene Kliuchnikov 2019-07-30 10:01:21 +02:00 committed by GitHub
parent f1124c8524
commit 3d1767186d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>