Harden be-gssapi-common.h for headerscheck
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 26 Nov 2021 20:00:29 +0000 (17:00 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 26 Nov 2021 20:00:29 +0000 (17:00 -0300)
commitf76fd05bae047103cb36ef5fb82137c8995142c1
treec1da275403eb3c93789fd4fd1aa94ddf45f30318
parent899a4b25ad6b45c3f7fbdbc177211b7279dba56a
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
src/include/libpq/be-gssapi-common.h