projects
/
postgresql-pgindent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976fa10
)
Fix thinko in previous commit
author
Alvaro Herrera
<
[email protected]
>
Mon, 8 Oct 2012 20:34:33 +0000
(17:34 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Mon, 8 Oct 2012 21:33:08 +0000
(18:33 -0300)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/mmgr/mcxt.c
b/src/backend/utils/mmgr/mcxt.c
index 7acd9c02a728f0b6682add8aabe7a5c6d4d6aabe..2fad06c36fe18fca6cd642036323be306f1f89c3 100644
(file)
--- 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"