postgres.git / summary / log / commit / refs
commit 878daf2e72755feadbfb8d21aad26dafd8658086
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Mon Oct 08 20:34:33 2012 +0000
First released in: 9.3.0
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"
[parent: 976fa10d20ec]