Commit dd3fd68266353c626f435e4d629571bcc0c095c4

Vicent Marti 2011-10-05T13:44:27

msvc: Remove superfluous includes

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