Commit 8201aea9 authored by Robert Haas's avatar Robert Haas

Avoid including postgres.h in frontend compiles of src/port.

This isn't kosher, and doesn't play nicely with my recent changes to the
Makefile in this directory.
parent edad08ba
...@@ -13,7 +13,12 @@ ...@@ -13,7 +13,12 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef FRONTEND
#include "postgres.h" #include "postgres.h"
#else
#include "postgres_fe.h"
#endif
#include <dirent.h> #include <dirent.h>
......
...@@ -15,7 +15,11 @@ ...@@ -15,7 +15,11 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef FRONTEND
#include "postgres.h" #include "postgres.h"
#else
#include "postgres_fe.h"
#endif
#ifdef WIN32 #ifdef WIN32
int int
......
...@@ -11,7 +11,11 @@ ...@@ -11,7 +11,11 @@
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#ifndef FRONTEND
#include "postgres.h" #include "postgres.h"
#else
#include "postgres_fe.h"
#endif
static const struct static const struct
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment