summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-10-05 13:44:27 -0700
committerVicent Marti <tanoku@gmail.com>2011-10-05 13:44:27 -0700
commitdd3fd68266353c626f435e4d629571bcc0c095c4 (patch)
tree5b723315450a43f823c26afc03f625f963813a05 /deps
parentc060854ed5b42b76eda40e290851a315dbbaea04 (diff)
downloadlibgit2-dd3fd68266353c626f435e4d629571bcc0c095c4.tar.gz
msvc: Remove superfluous includes
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