Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorJacques Germishuys <jacquesg@striata.com>2014-08-05 21:51:29 +0400
committerJacques Germishuys <jacquesg@striata.com>2014-08-05 21:51:29 +0400
commit66d1595436489399dbd86073fdc78aa36c307abc (patch)
treef4e9202715acd2b79871c54f7b8124a6ac0c0f3c /deps
parent59e3f45b6150984e6a74ce79062caa459eda369f (diff)
Solaris doesn't necessarily have stdint.h, use inttypes.h
Diffstat (limited to 'deps')
-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