Thread: pgsql: Harden be-gssapi-common.h for headerscheck

pgsql: Harden be-gssapi-common.h for headerscheck

From
Alvaro Herrera
Date:
Harden be-gssapi-common.h for headerscheck

Surround the contents with a test that the feature is enabled by
configure, to silence header checking tools on systems without GSSAPI
installed.

Backpatch to 12, where the file appeared.

Discussion: https://postgr.es/m/202111161709.u3pbx5lxdimt@alvherre.pgsql

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/733f2be094aabf5468a40e5e0137a1d3a071d81f

Modified Files
--------------
src/include/libpq/be-gssapi-common.h | 4 ++++
1 file changed, 4 insertions(+)