This has to have <time.h>, 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.
index c5fd6bdaed9ae4f228600e1c70f211c97f55cc6d..893c9b6194e4437a9651c7cae2fe7522785ba46a 100644 (file)
#include <pgtypes_timestamp.h>
+#include <time.h>
+
#define MAXTZLEN 10
typedef int32 fsec_t;