# HG changeset patch
# User Maxim Dounin <mdou...@mdounin.ru>
# Date 1748209464 -10800
#      Mon May 26 00:44:24 2025 +0300
# Node ID 38f1f374523ff2630e59f6a722fd6f9d7f70ac01
# Parent  03f5c84e7e8c05ce16f6f36452e4cb818c85dde6
Configure: added uint8_t and uint16_t detection.

This fixes compilation on some old systems (though mostly for consistency
with uint32_t and uint64_t).

diff --git a/auto/unix b/auto/unix
--- a/auto/unix
+++ b/auto/unix
@@ -645,6 +645,8 @@ ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_s
 
 NGX_INCLUDE_AUTO_CONFIG_H="#include \"ngx_auto_config.h\""
 
+ngx_type="uint8_t"; ngx_types="u_int8_t"; . auto/types/typedef
+ngx_type="uint16_t"; ngx_types="u_int16_t"; . auto/types/typedef
 ngx_type="uint32_t"; ngx_types="u_int32_t"; . auto/types/typedef
 ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef
 

Reply via email to