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