summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deps/http-parser/http_parser.h16
-rw-r--r--include/git2/config.h1
2 files changed, 1 insertions, 16 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
diff --git a/include/git2/config.h b/include/git2/config.h
index 7e709b652..36647591a 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -9,7 +9,6 @@
#include "common.h"
#include "types.h"
-#include <stdint.h>
/**
* @file git2/config.h