Skip to content

Commit a769f47

Browse files
committed
Fix compilation under FreeBSD and Solaris
1 parent 3ad3a6d commit a769f47

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include "storage/checksum_impl.h"
1515
#include <common/pg_lzcompress.h>
1616

17+
#include <unistd.h>
18+
1719
#include <sys/stat.h>
1820

1921
#ifdef HAVE_LIBZ

src/parsexlog.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#endif
2323

2424
#include "utils/thread.h"
25+
#include <unistd.h>
2526
#include <time.h>
2627

2728
/*

src/util.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
#include <unistd.h>
1818

19+
#include <sys/stat.h>
20+
1921
const char *
2022
base36enc(long unsigned int value)
2123
{

0 commit comments

Comments
 (0)