1 2 3 4 5 6 7 8 9 10 11 12
Bug: https://bugs.gentoo.org/883237 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -54,6 +54,8 @@ #include <unistd.h> #include <sys/stat.h> #include <signal.h> +#include <sys/types.h> +#include <pwd.h> #include "repmgr.h"