Harden be-gssapi-common.h for headerscheck

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

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