pgsql: Fix for globals.c- c.h must come first - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: Fix for globals.c- c.h must come first
Date
Msg-id E1fJqYB-0006yo-La@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix for globals.c- c.h must come first
List pgsql-committers
Fix for globals.c- c.h must come first

Commit da9b580 mistakenly put a system header before postgres.h (which
includes c.h).  That can cause portability issues and broke (at least)
builds with older Windows compilers.

Discovered by Mark Dilger.

Discussion: https://postgr.es/m/BF04A27A-D132-4927-A80A-BAD18695E954@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2b83ff556deb9a0001bdf6b511f8cfc9189ac10

Modified Files
--------------
src/backend/utils/init/globals.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Hot-fix ecpg regression test for missing ecpg_config.hinclusion
Next
From: Tom Lane
Date:
Subject: pgsql: Arrange to supply declarations for strtoll/strtoull if needed.