From fd4bed679befd795d2acac319b3461b31294a1f4 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Sun, 19 Aug 2007 01:47:43 +0000 Subject: [PATCH] (strptime) [_WIN32]: Postpone the declaration of the struct tm for strptime(). Pick up the declaration for struct tm when time.h is included in the source file. --- src/lib/w32/w32misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/w32/w32misc.h b/src/lib/w32/w32misc.h index 31c7575b..3df65eb1 100644 --- a/src/lib/w32/w32misc.h +++ b/src/lib/w32/w32misc.h @@ -56,6 +56,6 @@ typedef long ssize_t; typedef int pid_t; /* time.h */ -#include +struct tm; extern char *strptime(const char *buf, const char *fmt, struct tm *tm); #endif /* W32MISC_H */