diff options
| author | Bruce Momjian | 2006-07-13 16:49:20 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2006-07-13 16:49:20 +0000 |
| commit | a22d76d96adaa98ab20de290a1b710a199805ddc (patch) | |
| tree | 0c54c219cae248d98b5fffb1189ac5af559468b7 /src/backend/postmaster | |
| parent | 70e2e3d8b1189c2c74007b39137ba475ae9f1cbb (diff) | |
Allow include files to compile own their own.
Strip unused include files out unused include files, and add needed
includes to C files.
The next step is to remove unused include files in C files.
Diffstat (limited to 'src/backend/postmaster')
| -rw-r--r-- | src/backend/postmaster/autovacuum.c | 4 | ||||
| -rw-r--r-- | src/backend/postmaster/bgwriter.c | 4 | ||||
| -rw-r--r-- | src/backend/postmaster/pgstat.c | 4 | ||||
| -rw-r--r-- | src/backend/postmaster/postmaster.c | 3 |
4 files changed, 11 insertions, 4 deletions
diff --git a/src/backend/postmaster/autovacuum.c b/src/backend/postmaster/autovacuum.c index c8b190978fe..2f0ac709cae 100644 --- a/src/backend/postmaster/autovacuum.c +++ b/src/backend/postmaster/autovacuum.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.23 2006/07/11 16:35:32 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.24 2006/07/13 16:49:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -23,6 +23,8 @@ #include "access/genam.h" #include "access/heapam.h" +#include "access/transam.h" +#include "access/xact.h" #include "access/xlog.h" #include "catalog/indexing.h" #include "catalog/namespace.h" diff --git a/src/backend/postmaster/bgwriter.c b/src/backend/postmaster/bgwriter.c index 164c0e2ff4e..0e801746b60 100644 --- a/src/backend/postmaster/bgwriter.c +++ b/src/backend/postmaster/bgwriter.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.24 2006/05/30 13:58:49 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.25 2006/07/13 16:49:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -54,7 +54,9 @@ #include "storage/fd.h" #include "storage/freespace.h" #include "storage/ipc.h" +#include "storage/lwlock.h" #include "storage/pmsignal.h" +#include "storage/shmem.h" #include "storage/smgr.h" #include "tcop/tcopprot.h" #include "utils/guc.h" diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index cac931dc88e..21f4b042791 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -13,7 +13,7 @@ * * Copyright (c) 2001-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.133 2006/06/29 20:00:08 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.134 2006/07/13 16:49:15 momjian Exp $ * ---------- */ #include "postgres.h" @@ -38,8 +38,10 @@ #include "pgstat.h" #include "access/heapam.h" +#include "access/transam.h" #include "access/xact.h" #include "catalog/pg_database.h" +#include "libpq/ip.h" #include "libpq/libpq.h" #include "libpq/pqsignal.h" #include "mb/pg_wchar.h" diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 41edc6ed650..76de63c5fae 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.491 2006/07/10 16:20:51 alvherre Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.492 2006/07/13 16:49:16 momjian Exp $ * * NOTES * @@ -99,6 +99,7 @@ #include "commands/async.h" #include "lib/dllist.h" #include "libpq/auth.h" +#include "libpq/ip.h" #include "libpq/libpq.h" #include "libpq/pqcomm.h" #include "libpq/pqsignal.h" |
