From: Tom Lane Date: Sun, 18 Aug 2019 21:51:35 +0000 (-0400) Subject: Fix failure-to-compile-standalone in ecpg's dt.h. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=5c66e99178c2f72042034cceb6bc4902650a2608;p=users%2Frhaas%2Fpostgres.git Fix failure-to-compile-standalone in ecpg's dt.h. This has to have , or the references to "struct tm" don't mean what they should. We have some other recently-introduced issues of the same ilk, but this one seems old. No backpatch though, as it's only a latent problem for most purposes. --- diff --git a/src/interfaces/ecpg/pgtypeslib/dt.h b/src/interfaces/ecpg/pgtypeslib/dt.h index c5fd6bdaed..893c9b6194 100644 --- a/src/interfaces/ecpg/pgtypeslib/dt.h +++ b/src/interfaces/ecpg/pgtypeslib/dt.h @@ -5,6 +5,8 @@ #include +#include + #define MAXTZLEN 10 typedef int32 fsec_t;