8000 Solaris 9 doesn't have stdint.h, use inttypes.h · nodejs/http-parser@55e736c · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 6, 2022. It is now read-only.

Commit 55e736c

Browse files
jacquesgbnoordhuis
authored andcommitted
Solaris 9 doesn't have stdint.h, use inttypes.h
PR-URL: #184 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent eefbf87 commit 55e736c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

http_parser.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ typedef __int32 int32_t;
4141
typedef unsigned __int32 uint32_t;
4242
typedef __int64 int64_t;
4343
typedef unsigned __int64 uint64_t;
44+
#elif (defined(__sun) || defined(__sun__)) && defined(__SunOS_5_9)
45+
#include <sys/inttypes.h>
4446
#else
4547
#include <stdint.h>
4648
#endif

0 commit comments

Comments
 (0)
0