Skip to content

Commit 54895ab

Browse files
committed
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).
1 parent c644599 commit 54895ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

auto/unix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,8 @@ ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value
645645

646646
NGX_INCLUDE_AUTO_CONFIG_H="#include \"ngx_auto_config.h\""
647647

648+
ngx_type="uint8_t"; ngx_types="u_int8_t"; . auto/types/typedef
649+
ngx_type="uint16_t"; ngx_types="u_int16_t"; . auto/types/typedef
648650
ngx_type="uint32_t"; ngx_types="u_int32_t"; . auto/types/typedef
649651
ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef
650652

0 commit comments

Comments
 (0)