summaryrefslogtreecommitdiff
path: root/contrib/pg_freespacemap
diff options
context:
space:
mode:
authorTom Lane2006-02-14 15:03:59 +0000
committerTom Lane2006-02-14 15:03:59 +0000
commite9b978c82b29113824975b4bb6347576708c9681 (patch)
treeb9714504d6aed7884f587e1d3e09228b257f1d0e /contrib/pg_freespacemap
parent99b384b8b6f8268c2fdd103d398f12dcdb0934c2 (diff)
Need a DLLIMPORT for MaxFSMPages, per buildfarm failure on snake.
Diffstat (limited to 'contrib/pg_freespacemap')
-rw-r--r--contrib/pg_freespacemap/pg_freespacemap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pg_freespacemap/pg_freespacemap.c b/contrib/pg_freespacemap/pg_freespacemap.c
index a3d9a6d31f..471c97a100 100644
--- a/contrib/pg_freespacemap/pg_freespacemap.c
+++ b/contrib/pg_freespacemap/pg_freespacemap.c
@@ -3,7 +3,7 @@
* pg_freespacemap.c
* display some contents of the free space map.
*
- * $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.1 2006/02/12 03:55:53 momjian Exp $
+ * $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.2 2006/02/14 15:03:59 tgl Exp $
*-------------------------------------------------------------------------
*/
#include "postgres.h"
@@ -15,6 +15,8 @@
#define NUM_FREESPACE_PAGES_ELEM 6
#if defined(WIN32) || defined(__CYGWIN__)
+/* Need DLLIMPORT for some things that are not so marked in main headers */
+extern DLLIMPORT int MaxFSMPages;
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
#endif