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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f76fd05bae047103cb36ef5fb82137c8995142c1

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