Support for OSX build; tested using OSX 10.9/clang-500.2.79
diff --git a/woff2/ots.h b/woff2/ots.h
index 65b0d8c..4eac1cb 100644
--- a/woff2/ots.h
+++ b/woff2/ots.h
@@ -18,31 +18,14 @@
 #ifndef BROTLI_WOFF2_OTS_H_
 #define BROTLI_WOFF2_OTS_H_
 
+#include <stdint.h>
+#include <arpa/inet.h>
 #include <cstdlib>
 #include <cstring>
 #include <limits>
 
 namespace ots {
 
-#if defined(_WIN32)
-#include <stdlib.h>
-typedef signed char int8_t;
-typedef unsigned char uint8_t;
-typedef short int16_t;
-typedef unsigned short uint16_t;
-typedef int int32_t;
-typedef unsigned int uint32_t;
-typedef __int64 int64_t;
-typedef unsigned __int64 uint64_t;
-#define ntohl(x) _byteswap_ulong (x)
-#define ntohs(x) _byteswap_ushort (x)
-#define htonl(x) _byteswap_ulong (x)
-#define htons(x) _byteswap_ushort (x)
-#else
-#include <arpa/inet.h>
-#include <stdint.h>
-#endif
-
 #if defined(_MSC_VER) || !defined(OTS_DEBUG)
 #define OTS_FAILURE() false
 #else