Skip to content

Commit d8cbc11

Browse files
committed
Fix compilation of pg_contoldata on BSD and Solaris
1 parent 04bd78e commit d8cbc11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bin/pg_controldata/pg_controldata.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818

1919
#include "postgres.h"
2020

21+
#include <sys/stat.h>
22+
#include <sys/time.h>
2123
#include <time.h>
24+
#include <unistd.h>
2225

2326
#include "access/xlog.h"
2427
#include "access/xlog_internal.h"

0 commit comments

Comments
 (0)