* Fully define struct timeval (not just forward declare)

* Forward declare struct timezone


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6063 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-09-20 23:42:48 +00:00
parent 05f7761bab
commit 2cea275cb5
1 changed files with 7 additions and 1 deletions

View File

@ -104,7 +104,13 @@ extern UDWORD HashString( const char *String );
extern UDWORD HashStringIgnoreCase( const char *String );
#if defined(WZ_OS_WIN)
struct timeval;
struct timeval
{
long tv_sec;
long tv_usec;
};
struct timezone;
extern int gettimeofday(struct timeval* tv, struct timezone* tz);
#endif