diff options
Diffstat (limited to 'include/git2/common.h')
-rw-r--r-- | include/git2/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git2/common.h b/include/git2/common.h index 084981674..a004be99b 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -11,6 +11,12 @@ #include <time.h> #include <stdlib.h> +#ifdef _MSC_VER +# include "inttypes.h" +#else +# include <inttypes.h> +#endif + #ifdef __cplusplus # define GIT_BEGIN_DECL extern "C" { # define GIT_END_DECL } |