summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorAlvaro Herrera2012-10-08 20:34:33 +0000
committerAlvaro Herrera2012-10-08 21:33:08 +0000
commit878daf2e72755feadbfb8d21aad26dafd8658086 (patch)
tree10ca7a582401e5b31739bed9b9acef9fc3ce9b24 /src/backend
parent976fa10d20ec9882229020fa16f4d74263066a40 (diff)
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
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/utils/mmgr/mcxt.c6
1 files 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"