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

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix for globals.c- c.h must come first
Date: 2018-05-19 01:20:47
Message-ID: E1fJqYB-0006yo-La@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-05-19 02:42:35 pgsql: Arrange to supply declarations for strtoll/strtoull if needed.
Previous Message Tom Lane 2018-05-18 23:04:33 pgsql: Hot-fix ecpg regression test for missing ecpg_config.h inclusion