From 0c1a160a68b89f5b2c31eac458ca2d62a622a524 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 24 Apr 2013 19:11:25 +0300 Subject: [PATCH] Add missing #include. On non-Windows systems, sys/time.h was pulled in by portability/instr_time.h, which pulled in time.h. We certainly should include time.h directly, since we're using time(2), but the indirect include masked the problem on most platforms. Andres Freund --- src/bin/psql/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 09939fda5d..4e4c5bec7b 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -13,6 +13,7 @@ #endif #include +#include #ifdef HAVE_PWD_H #include #endif -- 2.40.0