From c3edcc17b6843bbfeb61f2dc7c51115b6a4272b0 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Tue, 24 Jan 2023 02:57:42 +0300 Subject: [PATCH] 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. --- auto/os/linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/os/linux b/auto/os/linux index 87b0e1281c..4849baf0e9 100644 --- a/auto/os/linux +++ b/auto/os/linux @@ -263,7 +263,7 @@ ngx_feature="SO_COOKIE" ngx_feature_name="NGX_HAVE_SO_COOKIE" ngx_feature_run=no ngx_feature_incs="#include - #include " + $NGX_INCLUDE_INTTYPES_H" ngx_feature_path= ngx_feature_libs= ngx_feature_test="socklen_t optlen = sizeof(uint64_t);