From 35b2d4bc0eb5d61a2a294ccb6b2e4abdad307604 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sat, 8 Jun 2019 09:59:02 +0900 Subject: [PATCH] Move be-gssapi-common.h into src/include/libpq/ The file has been introduced in src/backend/libpq/ as of b0b39f72, but all backend-side headers of libpq are located in src/include/libpq/. Note that the identification path on top of the file referred to src/include/libpq/ from the start. Author: Michael Paquier Reviewed-by: Stephen Frost Discussion: https://postgr.es/m/20190607043415.GE1736@paquier.xyz --- src/backend/libpq/auth.c | 2 +- src/backend/libpq/be-gssapi-common.c | 2 +- src/backend/libpq/be-secure-gssapi.c | 2 +- src/{backend => include}/libpq/be-gssapi-common.h | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/{backend => include}/libpq/be-gssapi-common.h (100%) diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c index a7763f3f60..931058695a 100644 --- a/src/backend/libpq/auth.c +++ b/src/backend/libpq/auth.c @@ -173,7 +173,7 @@ bool pg_krb_caseins_users; *---------------------------------------------------------------- */ #ifdef ENABLE_GSS -#include "be-gssapi-common.h" +#include "libpq/be-gssapi-common.h" static int pg_GSS_checkauth(Port *port); static int pg_GSS_recvauth(Port *port); diff --git a/src/backend/libpq/be-gssapi-common.c b/src/backend/libpq/be-gssapi-common.c index e285a7061e..edb34026d4 100644 --- a/src/backend/libpq/be-gssapi-common.c +++ b/src/backend/libpq/be-gssapi-common.c @@ -14,7 +14,7 @@ #include "postgres.h" -#include "be-gssapi-common.h" +#include "libpq/be-gssapi-common.h" /* * Helper function for getting all strings of a GSSAPI error (of specified diff --git a/src/backend/libpq/be-secure-gssapi.c b/src/backend/libpq/be-secure-gssapi.c index b345eae62a..1673b10315 100644 --- a/src/backend/libpq/be-secure-gssapi.c +++ b/src/backend/libpq/be-secure-gssapi.c @@ -16,8 +16,8 @@ #include -#include "be-gssapi-common.h" #include "libpq/auth.h" +#include "libpq/be-gssapi-common.h" #include "libpq/libpq.h" #include "libpq/libpq-be.h" #include "libpq/pqformat.h" diff --git a/src/backend/libpq/be-gssapi-common.h b/src/include/libpq/be-gssapi-common.h similarity index 100% rename from src/backend/libpq/be-gssapi-common.h rename to src/include/libpq/be-gssapi-common.h -- 2.40.0