From 5e83854d71bb05403768a97a415a129b0081564b Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 31 Mar 2012 10:56:21 -0400
Subject: [PATCH] Add PGDLLIMPORT to ScanKeywords and NumScanKeywords.

Per buildfarm, this is now needed by contrib/pg_stat_statements.
---
 src/include/parser/keywords.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/parser/keywords.h b/src/include/parser/keywords.h
index ebfa05d0f4d..2b02ab0dd78 100644
--- a/src/include/parser/keywords.h
+++ b/src/include/parser/keywords.h
@@ -28,8 +28,8 @@ typedef struct ScanKeyword
 	int16		category;		/* see codes above */
 } ScanKeyword;
 
-extern const ScanKeyword ScanKeywords[];
-extern const int NumScanKeywords;
+extern PGDLLIMPORT const ScanKeyword ScanKeywords[];
+extern PGDLLIMPORT const int NumScanKeywords;
 
 extern const ScanKeyword *ScanKeywordLookup(const char *text,
 				  const ScanKeyword *keywords,
-- 
GitLab