From 878daf2e72755feadbfb8d21aad26dafd8658086 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera <alvherre@alvh.no-ip.org> Date: Mon, 8 Oct 2012 17:34:33 -0300 Subject: [PATCH] Fix thinko in previous commit Since postgres.h includes palloc.h, definitions that affect the latter must be present before the former is included. Per buildfarm results --- src/backend/utils/mmgr/mcxt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/utils/mmgr/mcxt.c b/src/backend/utils/mmgr/mcxt.c index 7acd9c02a72..2fad06c36fe 100644 --- a/src/backend/utils/mmgr/mcxt.c +++ b/src/backend/utils/mmgr/mcxt.c @@ -19,11 +19,11 @@ *------------------------------------------------------------------------- */ -#include "postgres.h" - -/* see palloc.h */ +/* see palloc.h. Must be before postgres.h */ #define MCXT_INCLUDE_DEFINITIONS +#include "postgres.h" + #include "utils/memutils.h" -- GitLab