pgpool2.git / summary / log / commit / refs
commit e14feea1dd455f10a7a533c8e489da9c780f1803
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Tue May 20 06:04:28 2025 +0000
Fix oversight in pg_strong_random commit.
In the commit I forgot to test without SSL case, which requires to
include <errno.h>.
Author: Bo Peng <pengbo@sraoss.co.jp>
src/utils/pg_strong_random.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/utils/pg_strong_random.c b/src/utils/pg_strong_random.c
index 2017139b1..05669d6f9 100644
--- a/src/utils/pg_strong_random.c
+++ b/src/utils/pg_strong_random.c
@@ -26,6 +26,9 @@
#include "pool.h"
+#ifndef USE_SSL
+#include <errno.h>
+#endif
#include <fcntl.h>
#include <unistd.h>
#include <sys/time.h>
[parent: 7abdd48ece66]