Remove unnecessary and circular #include.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Sep 2011 02:14:45 +0000 (22:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Sep 2011 02:14:45 +0000 (22:14 -0400)
storage/proc.h should not include replication/syncrep.h, especially not
when the latter includes storage/proc.h; but in any case this was a pretty
poor thing from a modular layering standpoint.

src/include/storage/proc.h

index 8b09b2af642f873340fa072cef5a9a0cfe57f929..07e36a1428261bf4d0760f35be5da2d5af8bd848 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"