aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2019-12-18 13:03:41 -0500
committerRobert Haas <rhaas@postgresql.org>2019-12-18 13:03:41 -0500
commit9aafc4529f50e027f05037d993c6dd60a6cde54d (patch)
tree1a71b9e059d6032cb7d3637d3c34a75fb11966f2
parente9fd0415e6e27c8ce5f40152aa98347ca6fe4385 (diff)
downloadpostgresql-9aafc4529f50e027f05037d993c6dd60a6cde54d.tar.gz
postgresql-9aafc4529f50e027f05037d993c6dd60a6cde54d.zip
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.
-rw-r--r--src/backend/postmaster/checkpointer.c1
1 files changed, 1 insertions, 0 deletions
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"