file: terragen.h
Code:
#ifndef TERRAGEN_H
#define TERRAGEN_H
struct terragenInfo
{
STARTUPINFO si;
PROCESS_INFORMATION pi;
time_t ttStartTime;
double dUpTime;
};
void terragenInit(terragenInfo PARAM_tginfo);
bool launchTerragen(terragenInfo PARAM_tginfo,C_fsystem& PARAM_script, C_fsystem& PARAM_terrain, C_fsystem& PARAM_world);
bool killTerragen(terragenInfo PARAM_tginfo);
bool terragenIsRunning(terragenInfo PARAM_tginfo);
double terragenGetUpTime(terragenInfo PARAM_tginfo);
#endif
d:\terranetd\terragen.h:8: syntax error before `;'
*line 9 is the time_t ttStartTime
as you can see this is a header file, and unless i am much mistaken i don't need to include time.h and windows.h do i? ta for the help