aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/ecpglib/extern.h2
-rw-r--r--src/interfaces/ecpg/test/pg_regress_ecpg.c3
-rw-r--r--src/interfaces/libpq/libpq-int.h1
3 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/extern.h b/src/interfaces/ecpg/ecpglib/extern.h
index c3082beb4a3..fb9b5aebbe7 100644
--- a/src/interfaces/ecpg/ecpglib/extern.h
+++ b/src/interfaces/ecpg/ecpglib/extern.h
@@ -3,12 +3,12 @@
#ifndef _ECPG_LIB_EXTERN_H
#define _ECPG_LIB_EXTERN_H
-#include "postgres_fe.h"
#include "libpq-fe.h"
#include "sqlca.h"
#include "sqlda-native.h"
#include "sqlda-compat.h"
#include "ecpg_config.h"
+
#ifndef CHAR_BIT
#include <limits.h>
#endif
diff --git a/src/interfaces/ecpg/test/pg_regress_ecpg.c b/src/interfaces/ecpg/test/pg_regress_ecpg.c
index b3ff76c4469..b6ecb618e69 100644
--- a/src/interfaces/ecpg/test/pg_regress_ecpg.c
+++ b/src/interfaces/ecpg/test/pg_regress_ecpg.c
@@ -16,9 +16,12 @@
*-------------------------------------------------------------------------
*/
+#include "postgres_fe.h"
+
#include "pg_regress.h"
#define LINEBUFSIZE 300
+
static void
ecpg_filter(const char *sourcefile, const char *outfile)
{
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h
index 360956d6eb3..b8ec3418c56 100644
--- a/src/interfaces/libpq/libpq-int.h
+++ b/src/interfaces/libpq/libpq-int.h
@@ -21,7 +21,6 @@
#define LIBPQ_INT_H
/* We assume libpq-fe.h has already been included. */
-#include "postgres_fe.h"
#include "libpq-events.h"
#include <time.h>