Index: pgbackrest-release-2.52.1/src/postgres/client.c =================================================================== --- pgbackrest-release-2.52.1.orig/src/postgres/client.c +++ pgbackrest-release-2.52.1/src/postgres/client.c @@ -3,7 +3,7 @@ Postgres Client ***********************************************************************************************************************************/ #include "build.auto.h" -#include +#include #include "common/debug.h" #include "common/log.h" Index: pgbackrest-release-2.52.1/src/configure =================================================================== --- pgbackrest-release-2.52.1.orig/src/configure +++ pgbackrest-release-2.52.1/src/configure @@ -3655,12 +3655,12 @@ else $as_nop as_fn_error $? "library 'pq' is required" "$LINENO" 5 fi -ac_fn_c_check_header_compile "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default" +ac_fn_c_check_header_compile "$LINENO" "pgsql/libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default" if test "x$ac_cv_header_libpq_fe_h" = xyes then : else $as_nop - as_fn_error $? "header file is required" "$LINENO" 5 + as_fn_error $? "header file is required" "$LINENO" 5 fi