Skip to content

Commit 86dfa55

Browse files
committed
Add stat.h for not Linux systems.
1 parent bd64e30 commit 86dfa55

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

contrib/pg_arman/pg_arman.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include "postgres_fe.h"
1313

1414
#include <limits.h>
15+
#include <sys/stat.h>
16+
1517
#include "libpq-fe.h"
1618

1719
#include "pgut/pgut.h"

src/backend/access/heap/ptrack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "utils/array.h"
1818
#include "utils/relfilenodemap.h"
1919
#include <unistd.h>
20+
#include <sys/stat.h>
2021

2122
/* Effective data size */
2223
#define MAPSIZE (BLCKSZ - MAXALIGN(SizeOfPageHeaderData))

0 commit comments

Comments
 (0)