Commit e2b83ff5 authored by Stephen Frost's avatar Stephen Frost

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

Commit da9b580d 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
parent 5e79405d
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <sys/stat.h>
#include "postgres.h" #include "postgres.h"
#include <sys/stat.h>
#include "common/file_perm.h" #include "common/file_perm.h"
#include "libpq/libpq-be.h" #include "libpq/libpq-be.h"
#include "libpq/pqcomm.h" #include "libpq/pqcomm.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment