]> granicus.if.org Git - postgresql/commitdiff
Fix thinko in previous commit
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 8 Oct 2012 20:34:33 +0000 (17:34 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
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

index 7acd9c02a728f0b6682add8aabe7a5c6d4d6aabe..2fad06c36fe18fca6cd642036323be306f1f89c3 100644 (file)
  *-------------------------------------------------------------------------
  */
 
-#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"