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.
pull/47/head
Tom Lane 6 years ago
parent 4d4c66addf
commit 5c66e99178
  1. 2
      src/interfaces/ecpg/pgtypeslib/dt.h

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

Loading…
Cancel
Save