OSDN Git Service

Add missing #include, to fix compilation failure
authorMasaoFujii <masao.fujii@gmail.com>
Mon, 25 Jan 2016 15:23:49 +0000 (00:23 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Mon, 25 Jan 2016 15:23:49 +0000 (00:23 +0900)
This commit fixes the compilation error caused by the commit 65c5fcd
in PostgreSQL.

Back-patch to 1.1 where 9.6 will be supported.

bigm_gin.c

index 0e4b2a2..6ca4a45 100644 (file)
@@ -20,6 +20,9 @@
 #include "access/skey.h"
 #include "access/tuptoaster.h"
 #include "access/xlog.h"
+#if PG_VERSION_NUM > 90500
+#include "catalog/pg_am.h"
+#endif
 #include "catalog/pg_type.h"
 #include "funcapi.h"
 #include "mb/pg_wchar.h"