Fix oversight in pg_strong_random commit. master
authorTatsuo Ishii <ishii@postgresql.org>
Tue, 20 May 2025 06:04:28 +0000 (15:04 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Tue, 20 May 2025 06:04:28 +0000 (15:04 +0900)
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

index 2017139b12a43e67c78cbe492b149f4b66ac1c60..05669d6f994b7835cd0ffc1c9a8b47d18d8dd9a7 100644 (file)
@@ -26,6 +26,9 @@
 
 #include "pool.h"
 
+#ifndef USE_SSL
+#include <errno.h>
+#endif
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/time.h>