Various syntax and include fixes

This commit is contained in:
Ian Barwick
2017-04-20 17:04:54 +09:00
parent f9dfcb20b4
commit 7d0e061088
2 changed files with 5 additions and 2 deletions

View File

@@ -118,9 +118,9 @@ typedef struct
/* log settings */ \ /* log settings */ \
"", "", "", \ "", "", "", \
/* standby clone settings */ \ /* standby clone settings */ \
false, "", "", "", { NULL, NULL }, \ false, "", "", "", "", { NULL, NULL }, \
/* repmgrd settings */ \ /* repmgrd settings */ \
MANUAL_FAILOVER, DEFAULT_PRIORITY, "", "", 2, 60, 6, 10, 300, false \ MANUAL_FAILOVER, DEFAULT_PRIORITY, "", "", 2, 60, 6, 10, 300, false, \
/* witness settings */ \ /* witness settings */ \
30, \ 30, \
/* service settings */ \ /* service settings */ \

View File

@@ -12,9 +12,12 @@
* *
*/ */
#include <unistd.h>
#include "repmgr.h" #include "repmgr.h"
#include "repmgr-client.h" #include "repmgr-client.h"
/* global configuration structures */ /* global configuration structures */
t_runtime_options runtime_options = T_RUNTIME_OPTIONS_INITIALIZER; t_runtime_options runtime_options = T_RUNTIME_OPTIONS_INITIALIZER;
t_configuration_options config_file_options = T_CONFIGURATION_OPTIONS_INITIALIZER; t_configuration_options config_file_options = T_CONFIGURATION_OPTIONS_INITIALIZER;