diff options
author | Neil Conway | 2005-03-31 00:45:26 +0000 |
---|---|---|
committer | Neil Conway | 2005-03-31 00:45:26 +0000 |
commit | e1b398c6f57d4aec1f67f8fa137a46752ebbd813 (patch) | |
tree | 81518dc4d299c7e2a0d1406683ccbaa4cd990f6f | |
parent | 8962b6106b4d6672675f83be11a5e0effcdd36fc (diff) |
Fix build error in pg_buffercache on Win32 (native and cygwin). From
Mark Kirkwood.
-rw-r--r-- | contrib/pg_buffercache/pg_buffercache_pages.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c index fa42644624f..aea0cd78344 100644 --- a/contrib/pg_buffercache/pg_buffercache_pages.c +++ b/contrib/pg_buffercache/pg_buffercache_pages.c @@ -3,7 +3,7 @@ * pg_buffercache_pages.c * display some contents of the buffer cache * - * $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.1 2005/03/12 15:36:24 neilc Exp $ + * $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.2 2005/03/31 00:45:26 neilc Exp $ *------------------------------------------------------------------------- */ #include "postgres.h" @@ -17,6 +17,11 @@ #define NUM_BUFFERCACHE_PAGES_ELEM 6 +#if defined(WIN32) || defined(__CYGWIN__) +extern DLLIMPORT BufferDesc *BufferDescriptors; +extern DLLIMPORT volatile uint32 InterruptHoldoffCount; +#endif + /* * Record structure holding the to be exposed cache data. |