Allow repmgr to be compiled with a libpq newer than PostgreSQL

Fixes #44
This commit is contained in:
Marco Nenciarini
2015-04-28 19:12:37 +02:00
parent 3deb6784e7
commit 7ad9a2c28a
2 changed files with 5 additions and 6 deletions

View File

@@ -25,7 +25,8 @@
#include <string.h>
/* NB: postgres_fe must be included BEFORE check_dir */
#include "postgres_fe.h"
#include <libpq-fe.h>
#include <postgres_fe.h>
#include "check_dir.h"
#include "strutil.h"

View File

@@ -20,11 +20,9 @@
#ifndef _REPMGR_H_
#define _REPMGR_H_
#include "postgres_fe.h"
#include "libpq-fe.h"
#include "getopt_long.h"
#include <libpq-fe.h>
#include <postgres_fe.h>
#include <getopt_long.h>
#include "strutil.h"
#include "dbutils.h"