From: Tomas Vondra Date: Mon, 7 Nov 2016 17:35:50 +0000 (+0100) Subject: remove unnecessary include of lwlock.h from pgxc.h X-Git-Tag: XL_10_R1BETA1~537 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=13d9aa2ce53a8002afd64f28f3fd68c3d02ea196;p=postgres-xl.git remove unnecessary include of lwlock.h from pgxc.h As pgxc.h is included from src/common/relpath.c, this caused a circular dependency failure, because it requires lwlocknames.h, generated in src/backend/storage (which in turn requires src/common already built). --- diff --git a/src/include/pgxc/pgxc.h b/src/include/pgxc/pgxc.h index 689d045768..dc1cc87cd5 100644 --- a/src/include/pgxc/pgxc.h +++ b/src/include/pgxc/pgxc.h @@ -16,7 +16,6 @@ #define PGXC_H #include "postgres.h" -#include "storage/lwlock.h" extern bool isPGXCCoordinator; extern bool isPGXCDataNode;