Skip to content

Commit

Permalink
QUIC: improved SO_COOKIE configure test.
Browse files Browse the repository at this point in the history
In nginx source code the inttypes.h include, if available, is used to define
standard integer types.  Changed the SO_COOKIE configure test to follow this.
  • Loading branch information
mdounin committed Jan 23, 2023
1 parent b196429 commit c3edcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto/os/linux
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ ngx_feature="SO_COOKIE"
ngx_feature_name="NGX_HAVE_SO_COOKIE"
ngx_feature_run=no
ngx_feature_incs="#include <sys/socket.h>
#include <stdint.h>"
$NGX_INCLUDE_INTTYPES_H"
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test="socklen_t optlen = sizeof(uint64_t);
Expand Down

0 comments on commit c3edcc1

Please sign in to comment.