msvc: Remove superfluous includes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/deps/http-parser/http_parser.h b/deps/http-parser/http_parser.h
index ac00d41..b6f6e99 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 7e709b6..3664759 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