(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:
parent
d5ffce4aa8
commit
fd4bed679b
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue