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 e70949119a
commit 2e5995bd96
5 changed files with 17 additions and 21 deletions
+1
View File
@@ -20,6 +20,7 @@
#include <algorithm>
#include <limits>
#include <vector>
#include <cstdlib>
#include "./histogram.h"
+1
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"
+5 -1
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>