diff --git a/config.h b/config.h index bd9adbbc..844d0157 100644 --- a/config.h +++ b/config.h @@ -118,9 +118,9 @@ typedef struct /* log settings */ \ "", "", "", \ /* standby clone settings */ \ - false, "", "", "", { NULL, NULL }, \ + false, "", "", "", "", { NULL, NULL }, \ /* repmgrd settings */ \ - MANUAL_FAILOVER, DEFAULT_PRIORITY, "", "", 2, 60, 6, 10, 300, false \ + MANUAL_FAILOVER, DEFAULT_PRIORITY, "", "", 2, 60, 6, 10, 300, false, \ /* witness settings */ \ 30, \ /* service settings */ \ diff --git a/repmgr-client.c b/repmgr-client.c index ee66fab8..849285f9 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -12,9 +12,12 @@ * */ +#include + #include "repmgr.h" #include "repmgr-client.h" + /* global configuration structures */ t_runtime_options runtime_options = T_RUNTIME_OPTIONS_INITIALIZER; t_configuration_options config_file_options = T_CONFIGURATION_OPTIONS_INITIALIZER;