diff auto/os/linux @ 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 ce6d9cf0f567
children 0af598651e33
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);