summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-09-04 19:10:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-09-04 19:10:09 -0400
commit1ae019f04b95771293f9a649c298aaeb0d3155a2 (patch)
tree8bb7b7d209811ae675ff0b0a45ac67fbeaa0b2b9
parentb6cfede8b630db61afa7dd158adde93ba669f429 (diff)
downloadpostgresql-1ae019f04b95771293f9a649c298aaeb0d3155a2.tar.gz
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.
-rw-r--r--src/include/commands/tablecmds.h1
-rw-r--r--src/include/storage/proc.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/tablecmds.h b/src/include/commands/tablecmds.h
index 3f971eb218..0e8bbe0929 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 56758da04f..7b181b22bc 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"