Commit 66d1595436489399dbd86073fdc78aa36c307abc

Jacques Germishuys 2014-08-05T19:51:29

Solaris doesn't necessarily have stdint.h, use inttypes.h

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/deps/http-parser/http_parser.h b/deps/http-parser/http_parser.h
index 4f20396..67e1d95 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