NetBSD doesn't have the timezone struct, either.

svn path=/trunk/netsurf/; revision=3536
This commit is contained in:
Rob Kendrick 2007-09-14 18:22:40 +00:00
parent b82546a39f
commit c228658f2d
1 changed files with 2 additions and 2 deletions

View File

@ -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;