Support for OSX build; tested using OSX 10.9/clang-500.2.79

This commit is contained in:
Roderick Sheeter 2013-12-12 10:43:05 -08:00
parent 60c24c0c2d
commit c23cb1e83d
3 changed files with 7 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#include <algorithm>
#include <limits>
#include <vector>
#include <cstdlib>
#include "./histogram.h"

View File

@ -23,6 +23,7 @@
#include <string.h>
#include <sys/types.h>
#include <algorithm>
#include <cstdlib>
#include "./fast_log.h"
#include "./find_match_length.h"

View File

@ -18,7 +18,11 @@
#define BROTLI_ENC_WRITE_BITS_H_
#include <assert.h>
#include <endian.h>
#if defined(OS_MACOSX)
#include <machine/endian.h>
#else
#include <endian.h>
#endif
#include <stdint.h>
#include <stdio.h>