summaryrefslogtreecommitdiffstats
path: root/libs/postgresql/patches/300-fix-includes.patch
blob: 3611c8e00a3dc88605200ee9a5ab75921c4f27a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -12,9 +12,11 @@
 #include "postgres_fe.h"
 
 #include <fcntl.h>
+#include <pwd.h>
 #include <signal.h>
 #include <time.h>
 #include <sys/stat.h>
+#include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>