Index: Makefile.in --- Makefile.in.orig 2018-01-08 08:46:37.000000000 +0100 +++ Makefile.in 2018-01-09 08:43:31.810267000 +0100 @@ -69,10 +69,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 2018-01-08 08:46:37.000000000 +0100 +++ configure 2018-01-09 08:43:31.811837000 +0100 @@ -12303,7 +12303,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 2018-01-08 08:46:37.000000000 +0100 +++ src/auth/pool_hba.c 2018-01-09 08:44:29.980456000 +0100 @@ -29,6 +29,8 @@ #include #include #include +#include +#include #include "pool.h" #include "auth/pool_hba.h" Index: src/parser/copyfuncs.c --- src/parser/copyfuncs.c.orig 2018-01-08 08:46:37.000000000 +0100 +++ src/parser/copyfuncs.c 2018-01-09 08:43:31.812400000 +0100 @@ -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 2018-01-08 08:46:37.000000000 +0100 +++ src/watchdog/wd_escalation.c 2018-01-09 08:43:31.812555000 +0100 @@ -26,6 +26,7 @@ #include #include #include +#include #ifdef __FreeBSD__ #include Index: src/watchdog/wd_if.c --- src/watchdog/wd_if.c.orig 2018-01-08 08:46:37.000000000 +0100 +++ src/watchdog/wd_if.c 2018-01-09 08:43:31.812696000 +0100 @@ -48,6 +48,7 @@ #endif /* __linux__ */ #include #include +#include #ifdef __FreeBSD__ #include