headerscheck: Use ICU_CFLAGS

Peter Eisentraut <peter@eisentraut.org>

Commit: 664e0d678965719fe0d385aa3a8f2777058b119b
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-29T07:01:46Z
headerscheck: Use ICU_CFLAGS

Otherwise, headerscheck will fail if the ICU headers are in a location
not reached by the normal CFLAGS/CPPFLAGS:

../src/include/utils/pg_locale.h:21:10: fatal error: unicode/ucol.h: No such file or directory

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/1127775.1754417387%40sss.pgh.pa.us

Files

PathChange+/−
src/tools/pginclude/headerscheck modified +3 −2

Discussion