summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
Diffstat (limited to 'deps')
-rw-r--r--deps/http-parser/http_parser.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/deps/http-parser/http_parser.h b/deps/http-parser/http_parser.h
index ac00d4199..b6f6e9978 100644
--- a/deps/http-parser/http_parser.h
+++ b/deps/http-parser/http_parser.h
@@ -33,21 +33,7 @@ extern "C" {
#endif
#include <sys/types.h>
-#if defined(_WIN32) && !defined(__MINGW32__) && !defined(_MSC_VER)
-typedef __int8 int8_t;
-typedef unsigned __int8 uint8_t;
-typedef __int16 int16_t;
-typedef unsigned __int16 uint16_t;
-typedef __int32 int32_t;
-typedef unsigned __int32 uint32_t;
-typedef __int64 int64_t;
-typedef unsigned __int64 uint64_t;
-
-typedef unsigned int size_t;
-typedef int ssize_t;
-#else
-#include <stdint.h>
-#endif
+#include "git2/common.h"
/* Compile with -DHTTP_PARSER_STRICT=0 to make less checks, but run
* faster