From 5c66e99178c2f72042034cceb6bc4902650a2608 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 18 Aug 2019 17:51:35 -0400 Subject: [PATCH] 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. --- src/interfaces/ecpg/pgtypeslib/dt.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5