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:
#ifndef BE_GSSAPI_COMMON_H
#define BE_GSSAPI_COMMON_H
+#ifdef ENABLE_GSS
+
#if defined(HAVE_GSSAPI_H)
#include <gssapi.h>
#else
extern void pg_GSS_error(const char *errmsg,
OM_uint32 maj_stat, OM_uint32 min_stat);
+#endif /* ENABLE_GSS */
+
#endif /* BE_GSSAPI_COMMON_H */
