Skip to content

Commit e2b83ff

Browse files
committed
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
1 parent 5e79405 commit e2b83ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/init/globals.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
19-
#include <sys/stat.h>
20-
2119
#include "postgres.h"
2220

21+
#include <sys/stat.h>
22+
2323
#include "common/file_perm.h"
2424
#include "libpq/libpq-be.h"
2525
#include "libpq/pqcomm.h"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy