Skip to content

Commit

Permalink
[PGPRO-5750] fix windows compilation problem with PG-14
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kulaginm committed Oct 21, 2021
1 parent 92128e9 commit f3341da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/file.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>

#include "pg_probackup.h"
/* sys/stat.h must be included after pg_probackup.h (see problems with compilation for windows described in PGPRO-5750) */
#include <sys/stat.h>

#include "file.h"
#include "storage/checksum.h"

Expand Down

0 comments on commit f3341da

Please sign in to comment.