I tried adding a line which says that if time_t is not defined, then define it. This gets rid of the problem, but now I get
"Io.h"(110,20) Redeclaration of 'time_t'.
in every module that uses io.h. How can I both have it defined and not defined????
#ifndef _FINDDATA_T_DEFINED
#ifndef time_t //<
typedef long time_t; //<
#endif //<
struct _finddata_t {
unsigned attrib;
time_t time_create; /* -1 for FAT file systems */
time_t time_access; /* -1 for FAT file systems */
time_t time_write;
_fsize_t size;
char name[260];
};