Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f3341da

Browse filesBrowse 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
Copy full SHA for f3341da

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎src/utils/file.c

Copy file name to clipboardExpand all lines: src/utils/file.c
+3-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.