Skip to content

Commit

Permalink
Solaris 9 doesn't have stdint.h, use inttypes.h
Browse files Browse the repository at this point in the history
PR-URL: nodejs#184
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
jacquesg authored and bnoordhuis committed May 4, 2020
1 parent eefbf87 commit 55e736c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions http_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#elif (defined(__sun) || defined(__sun__)) && defined(__SunOS_5_9)
#include <sys/inttypes.h>
#else
#include <stdint.h>
#endif
Expand Down

0 comments on commit 55e736c

Please sign in to comment.