Index: Makefile.in --- Makefile.in.orig 2025-02-27 08:11:36.000000000 +0100 +++ Makefile.in 2025-04-11 09:25:26.892592000 +0200 @@ -59,10 +59,10 @@ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ +pkgdatadir = $(datadir)/pgpool +pkgincludedir = $(includedir)/pgpool +pkglibdir = $(libdir)/pgpool +pkglibexecdir = $(libexecdir)/pgpool am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c Index: configure --- configure.orig 2025-02-27 08:11:35.000000000 +0100 +++ configure 2025-04-11 09:25:26.893886000 +0200 @@ -12539,7 +12539,7 @@ OLD_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -Wall" +CFLAGS="$CFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wall option" >&5 $as_echo_n "checking for -Wall option... " >&6; } if ${ac_cv_wall+:} false; then : Index: src/auth/pool_hba.c --- src/auth/pool_hba.c.orig 2025-02-27 08:08:37.000000000 +0100 +++ src/auth/pool_hba.c 2025-04-11 09:25:26.894158000 +0200 @@ -29,6 +29,8 @@ #include #include #include +#include +#include #ifdef __FreeBSD__ #include Index: src/include/utils/fe_ports.h --- src/include/utils/fe_ports.h.orig 2025-02-27 08:08:37.000000000 +0100 +++ src/include/utils/fe_ports.h 2025-04-11 09:25:26.894246000 +0200 @@ -29,6 +29,7 @@ #endif #include +#include #ifndef FE_PORTS #define FE_PORTS #include "parser/pool_parser.h" Index: src/include/utils/pqexpbuffer.h --- src/include/utils/pqexpbuffer.h.orig 2025-02-27 07:17:52.000000000 +0100 +++ src/include/utils/pqexpbuffer.h 2025-04-11 09:25:26.894319000 +0200 @@ -25,6 +25,8 @@ #ifndef PQEXPBUFFER_H #define PQEXPBUFFER_H +#include + /*------------------------- * PQExpBufferData holds information about an extensible string. * data is the current buffer for the string (allocated with malloc). Index: src/main/pgpool_main.c --- src/main/pgpool_main.c.orig 2025-02-27 08:08:37.000000000 +0100 +++ src/main/pgpool_main.c 2025-04-11 09:26:47.725664000 +0200 @@ -3076,7 +3076,7 @@ Req_info = (POOL_REQUEST_INFO *)pool_shared_memory_segment_get_chunk(sizeof(POOL_REQUEST_INFO)); - InRecovery = (int *)pool_shared_memory_segment_get_chunk(sizeof(int)); + InRecovery = (volatile sig_atomic_t *)pool_shared_memory_segment_get_chunk(sizeof(int)); /* Initialize statistics area */ stat_set_stat_area(pool_shared_memory_segment_get_chunk(stat_shared_memory_size())); Index: src/parser/copyfuncs.c --- src/parser/copyfuncs.c.orig 2025-02-27 08:08:37.000000000 +0100 +++ src/parser/copyfuncs.c 2025-04-11 09:25:26.894700000 +0200 @@ -23,6 +23,7 @@ #include "pool.h" +#include #include #include #include "utils/palloc.h" Index: src/watchdog/wd_escalation.c --- src/watchdog/wd_escalation.c.orig 2025-02-27 08:08:37.000000000 +0100 +++ src/watchdog/wd_escalation.c 2025-04-11 09:25:26.894785000 +0200 @@ -26,6 +26,7 @@ #include #include #include +#include #ifdef __FreeBSD__ #include Index: src/watchdog/wd_if.c --- src/watchdog/wd_if.c.orig 2025-02-27 08:08:37.000000000 +0100 +++ src/watchdog/wd_if.c 2025-04-11 09:25:26.894882000 +0200 @@ -48,6 +48,7 @@ #endif /* __linux__ */ #include #include +#include #ifdef __FreeBSD__ #include