summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pg_autovacuum/pg_autovacuum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/pg_autovacuum/pg_autovacuum.h b/contrib/pg_autovacuum/pg_autovacuum.h
index 63a31965361..ac97f63bec0 100644
--- a/contrib/pg_autovacuum/pg_autovacuum.h
+++ b/contrib/pg_autovacuum/pg_autovacuum.h
@@ -9,6 +9,7 @@
#ifdef __GLIBC__
#include <getopt.h>
#endif
+#include <time.h>
#include <sys/time.h>
/* These next two lines are correct when pg_autovaccum is compiled