#include <string.h> /* memset */\r
\r
#include "../common/constants.h"\r
-#include "../common/types.h"\r
+#include "../common/context.h"\r
+#include "../common/platform.h"\r
+#include <brotli/types.h>\r
#include "./block_splitter.h"\r
#include "./command.h"\r
-#include "./context.h"\r
-#include "./port.h"\r
\r
#if defined(__cplusplus) || defined(c_plusplus)\r
extern "C" {\r
#endif\r
\r
+/* The distance symbols effectively used by "Large Window Brotli" (32-bit). */\r
+#define BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS 544\r
+\r
#define FN(X) X ## Literal\r
#define DATA_SIZE BROTLI_NUM_LITERAL_SYMBOLS\r
#define DataType uint8_t\r
#undef FN\r
\r
#define FN(X) X ## Distance\r
-#define DATA_SIZE BROTLI_NUM_DISTANCE_SYMBOLS\r
+#define DATA_SIZE BROTLI_NUM_HISTOGRAM_DISTANCE_SYMBOLS\r
#include "./histogram_inc.h" /* NOLINT(build/include) */\r
#undef DataType\r
#undef DATA_SIZE\r