solved some problems with include files
This commit is contained in:
parent
45bffe9e26
commit
fef3cce6e0
1 changed files with 13 additions and 2 deletions
|
@ -1,9 +1,20 @@
|
||||||
#ifdef BSD4_2
|
#ifdef BSD4_2
|
||||||
#include <sys/time.h>
|
struct timeval {
|
||||||
|
long tv_sec, tv_usec;
|
||||||
|
};
|
||||||
|
struct timezone {
|
||||||
|
int tz_minuteswest, tz_dsttime;
|
||||||
|
};
|
||||||
#else
|
#else
|
||||||
#ifndef USG
|
#ifndef USG
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/timeb.h>
|
struct timeb
|
||||||
|
{
|
||||||
|
time_t time;
|
||||||
|
ushort millitm;
|
||||||
|
short timezone;
|
||||||
|
short dstflag;
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue