1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fix failure-to-compile-standalone in ecpg's dt.h.

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.
This commit is contained in:
Tom Lane
2019-08-18 17:51:35 -04:00
parent 4d4c66addf
commit 5c66e99178

View File

@ -5,6 +5,8 @@
#include <pgtypes_timestamp.h>
#include <time.h>
#define MAXTZLEN 10
typedef int32 fsec_t;