summaryrefslogtreecommitdiff
path: root/dev-db/repmgr/files/repmgr-5.1.0-fix-missing-getpwuid-clang16.patch
blob: 53eeb524c7c9272867179bb50625f17326f95750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Bug: https://bugs.gentoo.org/883237
--- a/repmgr-client.c
+++ b/repmgr-client.c
@@ -54,6 +54,8 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <signal.h>
+#include <sys/types.h>
+#include <pwd.h>
 
 
 #include "repmgr.h"