From: Tom Lane Date: Sun, 4 Sep 2011 23:10:09 +0000 (-0400) Subject: Fix #include problems in 9.1 branch. X-Git-Tag: REL9_1_0~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ae019f04b95771293f9a649c298aaeb0d3155a2;p=thirdparty%2Fpostgresql.git Fix #include problems in 9.1 branch. Remove unnecessary and circular #include of syncrep.h from proc.h. Add htup.h to tablecmds.h so it will compile without prerequisites. --- diff --git a/src/include/commands/tablecmds.h b/src/include/commands/tablecmds.h index 3f971eb218f..0e8bbe0929f 100644 --- a/src/include/commands/tablecmds.h +++ b/src/include/commands/tablecmds.h @@ -14,6 +14,7 @@ #ifndef TABLECMDS_H #define TABLECMDS_H +#include "access/htup.h" #include "nodes/parsenodes.h" #include "storage/lock.h" #include "utils/relcache.h" diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 56758da04f2..7b181b22bc8 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -15,7 +15,6 @@ #define _PROC_H_ #include "access/xlog.h" -#include "replication/syncrep.h" #include "storage/latch.h" #include "storage/lock.h" #include "storage/pg_sema.h"