postgres.git / summary / log / commit / refs
commit 9aafc4529f50e027f05037d993c6dd60a6cde54d
Author: Robert Haas <rhaas@postgresql.org>
Date: Wed Dec 18 18:03:41 2019 +0000
First released in: 13.0
Re-#include <time.h> in checkpointer.c.
Commit 7dbfea3c455e83a77213a92b9dfdc1c0577441ea thought it could get
away with removing this, but Thomas Munro reports, on behalf of the
buildfarm, that it's still needed at least on Windows to avoid
compiler warnings.
src/backend/postmaster/checkpointer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend/postmaster/checkpointer.c b/src/backend/postmaster/checkpointer.c
index df527ac0215..014b9e5289c 100644
--- a/src/backend/postmaster/checkpointer.c
+++ b/src/backend/postmaster/checkpointer.c
@@ -37,6 +37,7 @@
#include "postgres.h"
#include <sys/time.h>
+#include <time.h>
#include "access/xlog.h"
#include "access/xlog_internal.h"
[parent: e9fd0415e6e2]