NetBSD doesn't have the timezone struct, either.
svn path=/trunk/netsurf/; revision=3536
This commit is contained in:
parent
b82546a39f
commit
c228658f2d
|
@ -356,8 +356,8 @@ mng_uint32 nsmng_gettickcount(mng_handle mng) {
|
||||||
static bool start = true;
|
static bool start = true;
|
||||||
static time_t t0;
|
static time_t t0;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
#if defined(__SVR4) && defined(__sun)
|
#if defined(__SVR4) && defined(__sun) || defined(__NetBSD__)
|
||||||
/* Solaris doesn't have this structure, and ignores the second
|
/* Solaris and NetBSD don't have this structure, and ignores the second
|
||||||
* parameter to gettimeofday()
|
* parameter to gettimeofday()
|
||||||
*/
|
*/
|
||||||
int tz;
|
int tz;
|
||||||
|
|
Loading…
Reference in New Issue