From 1ae019f04b95771293f9a649c298aaeb0d3155a2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 4 Sep 2011 19:10:09 -0400 Subject: [PATCH] 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. --- src/include/commands/tablecmds.h | 1 + src/include/storage/proc.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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"