]> git.kaiwu.me - nginx.git/commitdiff
QUIC: improved SO_COOKIE configure test.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 23 Jan 2023 23:57:42 +0000 (02:57 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 23 Jan 2023 23:57:42 +0000 (02:57 +0300)
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

index 87b0e1281caf7f770b8b4ec93251195629ab517f..4849baf0e938edb25252962855828102c77a5eaf 100644 (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);