QUIC: improved SO_COOKIE configure test.

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.
This commit is contained in:
Maxim Dounin 2023-01-24 02:57:42 +03:00
parent bdc9726c1b
commit c95da93677
1 changed files with 1 additions and 1 deletions

View File

@ -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);