From 82220e883236c214d670c3f14d943690aa78bc17 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 18 Feb 2011 14:05:42 -0500 Subject: [PATCH] Un-break building with BTREE_BUILD_STATS. This has been broken for awhile, but not clear it's worth back-patching. Euler Taveira de Oliveira --- src/backend/access/nbtree/nbtree.c | 1 + src/backend/access/nbtree/nbtsort.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/backend/access/nbtree/nbtree.c b/src/backend/access/nbtree/nbtree.c index 558ace1562..ba01874469 100644 --- a/src/backend/access/nbtree/nbtree.c +++ b/src/backend/access/nbtree/nbtree.c @@ -31,6 +31,7 @@ #include "storage/lmgr.h" #include "storage/predicate.h" #include "storage/smgr.h" +#include "tcop/tcopprot.h" #include "utils/memutils.h" diff --git a/src/backend/access/nbtree/nbtsort.c b/src/backend/access/nbtree/nbtsort.c index e02f0081fd..fd0e86a6aa 100644 --- a/src/backend/access/nbtree/nbtsort.c +++ b/src/backend/access/nbtree/nbtsort.c @@ -70,6 +70,7 @@ #include "access/nbtree.h" #include "miscadmin.h" #include "storage/smgr.h" +#include "tcop/tcopprot.h" #include "utils/rel.h" #include "utils/tuplesort.h" -- 2.40.0