aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer/freelist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-11-30 01:39:08 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-11-30 01:39:08 +0000
commit680b7357ce850c28d06997be793aee18f72434ba (patch)
tree79c9ab2ef4ac257301510d9ca6bc37b8c6dfba8b /src/backend/storage/buffer/freelist.c
parent9f20852f878dbacc0412d909d48fcbd779d7779e (diff)
downloadpostgresql-680b7357ce850c28d06997be793aee18f72434ba.tar.gz
postgresql-680b7357ce850c28d06997be793aee18f72434ba.zip
Rearrange bufmgr header files so that buf_internals.h need not be
included by everything that includes bufmgr.h --- it's supposed to be internals, after all, not part of the API! This fixes the conflict against FreeBSD headers reported by Rosenman, by making it unnecessary for s_lock.h to be included by plperl.c.
Diffstat (limited to 'src/backend/storage/buffer/freelist.c')
-rw-r--r--src/backend/storage/buffer/freelist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/freelist.c b/src/backend/storage/buffer/freelist.c
index a77a16c2a0a..c310a37951d 100644
--- a/src/backend/storage/buffer/freelist.c
+++ b/src/backend/storage/buffer/freelist.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.21 2000/04/09 04:43:19 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.22 2000/11/30 01:39:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -26,6 +26,8 @@
*/
#include "postgres.h"
+
+#include "storage/buf_internals.h"
#include "storage/bufmgr.h"