Include postgres.h before checking #ifdef XLOG.
authorPeter Eisentraut
Mon, 20 Nov 2000 16:47:32 +0000 (16:47 +0000)
committerPeter Eisentraut
Mon, 20 Nov 2000 16:47:32 +0000 (16:47 +0000)
src/backend/access/transam/varsup.c
src/backend/access/transam/xlogutils.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c

index 8c7d98ca70704fd8bb2d43a2e362ee5695545c20..75a568f8fde634bea626df1c45f750bccb4c482e 100644 (file)
@@ -8,18 +8,16 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.32 2000/11/08 22:09:55 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/access/transam/varsup.c,v 1.33 2000/11/20 16:47:30 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
-#ifdef XLOG
+#include "postgres.h"
 
+#ifdef XLOG
 #include "xlog_varsup.c"
-
 #else
 
-#include "postgres.h"
-
 #include "access/heapam.h"
 #include "catalog/catname.h"
 #include "storage/proc.h"
index b6442787334e2e4499bbc8ac3e4d02b97d84e533..dd6ca09acfff5d161f1f090cd4318525ae90dadb 100644 (file)
@@ -9,10 +9,10 @@
  *-------------------------------------------------------------------------
  */
 
-#ifdef XLOG
-
 #include "postgres.h"
 
+#ifdef XLOG
+
 #include "access/xlog.h"
 #include "access/transam.h"
 #include "access/xact.h"
index 8d40e8d952fc25ec1026c8a8fe4abf2ac5f29aad..907e819474378f478981458e94b01a78d4f313b8 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.93 2000/11/08 22:09:59 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.94 2000/11/20 16:47:31 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
  *     buf_table.c -- manages the buffer lookup table
  */
 
-#ifdef XLOG
+#include "postgres.h"
 
+#ifdef XLOG
 #include "xlog_bufmgr.c"
-
 #else
 
 #include 
@@ -54,7 +54,6 @@
 #include 
 #include 
 
-#include "postgres.h"
 #include "executor/execdebug.h"
 #include "miscadmin.h"
 #include "storage/s_lock.h"
index 352f519bdc0ea24505496b33d5c5e5481a67b708..7a841a354ade9f5a35b3a33e3c3a625582321c12 100644 (file)
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.34 2000/11/08 22:09:59 tgl Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.35 2000/11/20 16:47:32 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
    
-#ifdef XLOG
+#include "postgres.h"
 
+#ifdef XLOG
 #include "xlog_localbuf.c"
-
 #else
 
 #include 
@@ -32,8 +32,6 @@
 #include 
 #include 
 
-#include "postgres.h"
-
 #include "executor/execdebug.h"
 #include "storage/smgr.h"
 #include "utils/relcache.h"