Commit
630f9a43cec introduced an enum forward declaration, which
doesn't work in C++. To fix, just include the header file to get the
type.
#include "access/transam.h"
#include "access/xlog.h"
#include "access/xlogdefs.h"
+#include "nodes/primnodes.h"
#include "storage/block.h"
#include "storage/bufpage.h"
#include "utils/relcache.h"
do { (e).key = (k); (e).rel = (r); (e).page = (pg); \
(e).offset = (o); (e).leafkey = (l); } while (0)
-enum CompareType;
-extern StrategyNumber GistTranslateStratnum(Oid opclass, enum CompareType cmp);
+extern StrategyNumber GistTranslateStratnum(Oid opclass, CompareType cmp);
#endif /* GIST_H */