From 7d0e061088072e8e12298346024136acffdf033d Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Thu, 20 Apr 2017 17:04:54 +0900 Subject: [PATCH] Various syntax and include fixes --- config.h | 4 ++-- repmgr-client.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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;