Merge pull request #2503 from jacquesg/solaris-http-parser Solaris doesn't necessarily have stdint.h, use inttypes.h
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