| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: ssl: Include limits.h to get INT_MAX when using LibreSSL |
| Date: | 2026-07-09 15:51:22 |
| Message-ID: | E1whr22-000JbG-0y@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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 <dgustafsson(at)postgresql(dot)org>
Discussion: https://www.postgresql.org/message-id/6A9E7815-BD5A-4C31-A515-48159823406B@yesql.se
Backpatch-through: 14
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/0958c3ea4c677e9f5900fbdc60458f5b9bb34a06
Modified Files
--------------
src/interfaces/libpq/fe-secure-openssl.c | 1 +
1 file changed, 1 insertion(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2026-07-09 16:10:17 | pgsql: Remove WaitEventCustomCounterData. |
| Previous Message | Álvaro Herrera | 2026-07-09 12:36:04 | Re: pgsql: Refactor how some aux processes advertise their ProcNumber |