Skip to content

Commit 5c66e99

Browse files
committed
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.
1 parent 4d4c66a commit 5c66e99

File tree

1 file changed

+2
-0
lines changed
  • src/interfaces/ecpg/pgtypeslib

1 file changed

+2
-0
lines changed

src/interfaces/ecpg/pgtypeslib/dt.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
#include <pgtypes_timestamp.h>
77

8+
#include <time.h>
9+
810
#define MAXTZLEN 10
911

1012
typedef int32 fsec_t;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy