]> granicus.if.org Git - postgresql/commitdiff
Fix #include problems in 9.1 branch.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Sep 2011 23:10:09 +0000 (19:10 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Sep 2011 23:10:09 +0000 (19:10 -0400)
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
src/include/storage/proc.h

index 3f971eb218f770b4da689bbb4d1d5b6e25fd4bd8..0e8bbe0929f3542c09189fde00eee7d73fc3ce96 100644 (file)
@@ -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"
index 56758da04f259d39d931b493d405169f420343b0..7b181b22bc89e50dd6d123013457089383db177a 100644 (file)
@@ -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"