mirror of
https://github.com/postgres/postgres.git
synced 2026-06-19 21:49:02 -04:00
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.
This commit is contained in:
parent
edad08ba54
commit
8201aea90c
3 changed files with 13 additions and 0 deletions
|
|
@ -13,7 +13,12 @@
|
|||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef FRONTEND
|
||||
#include "postgres.h"
|
||||
#else
|
||||
#include "postgres_fe.h"
|
||||
#endif
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,11 @@
|
|||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef FRONTEND
|
||||
#include "postgres.h"
|
||||
#else
|
||||
#include "postgres_fe.h"
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
int
|
||||
|
|
|
|||
|
|
@ -11,7 +11,11 @@
|
|||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef FRONTEND
|
||||
#include "postgres.h"
|
||||
#else
|
||||
#include "postgres_fe.h"
|
||||
#endif
|
||||
|
||||
static const struct
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue