Skip to content

Commit f3341da

Browse files
committed
[PGPRO-5750] fix windows compilation problem with PG-14
this is caused by upstream commit https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=bed90759fcbcd72d4d06969eebab81e47326f9a2 Reported by Victor Wagner and fixed by Victor Spirin
1 parent 92128e9 commit f3341da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/file.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#include <stdio.h>
22
#include <unistd.h>
3-
#include <sys/stat.h>
43

54
#include "pg_probackup.h"
5+
/* sys/stat.h must be included after pg_probackup.h (see problems with compilation for windows described in PGPRO-5750) */
6+
#include <sys/stat.h>
7+
68
#include "file.h"
79
#include "storage/checksum.h"
810

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