Merge pull request #1171 from csware/fix-compilation-vs2012 Fixed compilation with =>VS2010
diff --git a/include/git2/inttypes.h b/include/git2/inttypes.h
index ead903f..7160842 100644
--- a/include/git2/inttypes.h
+++ b/include/git2/inttypes.h
@@ -40,7 +40,11 @@
#pragma once
#endif
+#if _MSC_VER >= 1600
+#include <stdint.h>
+#else
#include "stdint.h"
+#endif
// 7.8 Format conversion of integer types