summaryrefslogtreecommitdiff
path: root/src/port/pipe.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-02-04 13:11:53 -0500
committerRobert Haas <rhaas@postgresql.org>2011-02-04 13:11:53 -0500
commit8201aea90c2b171808c65836fcce4f29b22a9dbb (patch)
tree4766b4f32ed0676362ccd57ca3582608b05b1d23 /src/port/pipe.c
parentedad08ba545b43261b4d54d65122b45c9b5ee801 (diff)
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.
Diffstat (limited to 'src/port/pipe.c')
-rw-r--r--src/port/pipe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/port/pipe.c b/src/port/pipe.c
index 0963cbba78a..95839c65830 100644
--- a/src/port/pipe.c
+++ b/src/port/pipe.c
@@ -15,7 +15,11 @@
*-------------------------------------------------------------------------
*/
+#ifndef FRONTEND
#include "postgres.h"
+#else
+#include "postgres_fe.h"
+#endif
#ifdef WIN32
int