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-Tag: REL_13_BETA1~1613 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c66e99178c2f72042034cceb6bc4902650a2608;p=thirdparty%2Fpostgresql.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 c5fd6bdaed9..893c9b6194e 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;