diff options
author | Stephen Frost <sfrost@snowman.net> | 2018-05-18 21:20:27 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2018-05-18 21:20:27 -0400 |
commit | e2b83ff556deb9a0001bdf6b511f8cfc9189ac10 (patch) | |
tree | 19f85e4158e858b4847cfef33ef33dcf1ea3968e /src/backend/utils/init | |
parent | 5e79405d82992efce15c27694f10fb4e1ac32657 (diff) | |
download | postgresql-e2b83ff556deb9a0001bdf6b511f8cfc9189ac10.tar.gz postgresql-e2b83ff556deb9a0001bdf6b511f8cfc9189ac10.zip |
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
Diffstat (limited to 'src/backend/utils/init')
-rw-r--r-- | src/backend/utils/init/globals.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/init/globals.c b/src/backend/utils/init/globals.c index 0a3163398f3..36ffd874a40 100644 --- a/src/backend/utils/init/globals.c +++ b/src/backend/utils/init/globals.c @@ -16,10 +16,10 @@ * *------------------------------------------------------------------------- */ -#include <sys/stat.h> - #include "postgres.h" +#include <sys/stat.h> + #include "common/file_perm.h" #include "libpq/libpq-be.h" #include "libpq/pqcomm.h" |