Fix compile error when build with PostgreSQL 9.6 or 9.5.
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 9 Jul 2018 05:59:19 +0000 (14:59 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 9 Jul 2018 05:59:19 +0000 (14:59 +0900)
This prevents buildfarm from building with those PostgreSQL versions
(PostgreSQL 10 is ok).

src/sql/pgpool_adm/pgpool_adm.c

index f27aa170d5d7ee6f218e7325ab1e4d97ad331a4e..c58ee0fe4c5afb6f79e9244957527faea3b44b38 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 #include <unistd.h>
+#include <time.h>
 
 #include "catalog/pg_type.h"
 #include "funcapi.h"