summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-08-05 19:51:29 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-08-05 19:51:29 +0200
commit66d1595436489399dbd86073fdc78aa36c307abc (patch)
treef4e9202715acd2b79871c54f7b8124a6ac0c0f3c
parent59e3f45b6150984e6a74ce79062caa459eda369f (diff)
downloadlibgit2-66d1595436489399dbd86073fdc78aa36c307abc.tar.gz
Solaris doesn't necessarily have stdint.h, use inttypes.h
-rw-r--r--deps/http-parser/http_parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/http-parser/http_parser.h b/deps/http-parser/http_parser.h
index 4f20396c6..67e1d95dd 100644
--- a/deps/http-parser/http_parser.h
+++ b/deps/http-parser/http_parser.h
@@ -40,6 +40,8 @@ typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
typedef SIZE_T size_t;
typedef SSIZE_T ssize_t;
+#elif defined(__sun) || defined(__sun__)
+#include <sys/inttypes.h>
#else
#include <stdint.h>
#endif