changeset 9070:a954b551dc3f quic

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 24 Jan 2023 02:57:42 +0300
parents 03897c45798e
children 3c98fa8fef6f
files auto/os/linux
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <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);