ssl: Include limits.h to get INT_MAX when using LibreSSL When compiling against OpenSSL, the <limits.h> header is indirectly included via openssl/ossl_typ.h from openssl/conf.h, but the LibreSSL version of ossl_typ.h does not include <limits.h> which cause compiler failure due to missing symbol (since ffd080d94fe). Fix by explicitly including <limits.h>.
Author: Daniel Gustafsson <[email protected]> Discussion: https://www.postgresql.org/message-id/[email protected] Backpatch-through: 14 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/536512f34e7a6156188f6ba5c834ab01c911c5ae Modified Files -------------- src/interfaces/libpq/fe-secure-openssl.c | 1 + 1 file changed, 1 insertion(+)
