(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.
This commit is contained in:
Ron Koenderink 2007-08-19 01:47:43 +00:00
parent d5ffce4aa8
commit fd4bed679b

View file

@ -56,6 +56,6 @@ typedef long ssize_t;
typedef int pid_t; typedef int pid_t;
/* time.h */ /* time.h */
#include <time.h> struct tm;
extern char *strptime(const char *buf, const char *fmt, struct tm *tm); extern char *strptime(const char *buf, const char *fmt, struct tm *tm);
#endif /* W32MISC_H */ #endif /* W32MISC_H */