diff --git a/src/include/access/transam.h b/src/include/access/transam.h
index 8b441d89e6c1f399bd30a8c13c2dbd242ccf7043..b23a663c53a45e716f52f0668139e40aad1d5939 100644
--- a/src/include/access/transam.h
+++ b/src/include/access/transam.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/access/transam.h,v 1.67 2009/01/01 17:23:56 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/access/transam.h,v 1.68 2009/05/08 03:21:35 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -130,7 +130,7 @@ typedef VariableCacheData *VariableCache;
  */
 
 /* in transam/varsup.c */
-extern VariableCache ShmemVariableCache;
+extern PGDLLIMPORT VariableCache ShmemVariableCache;
 
 
 /*