Harden be-gssapi-common.h for headerscheck

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 1b1e4bfe7da770ad159c0f4291925a3597a65dbc
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2021-11-26T20:00:29Z
Releases: 14.2
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

Files

PathChange+/−
src/include/libpq/be-gssapi-common.h modified +4 −0

Discussion