From c228658f2d560b752f757ff23881e558cf637a97 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Fri, 14 Sep 2007 18:22:40 +0000 Subject: NetBSD doesn't have the timezone struct, either. svn path=/trunk/netsurf/; revision=3536 --- image/mng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'image') diff --git a/image/mng.c b/image/mng.c index 73bf9a0d1..450e038ae 100644 --- a/image/mng.c +++ b/image/mng.c @@ -356,8 +356,8 @@ mng_uint32 nsmng_gettickcount(mng_handle mng) { static bool start = true; static time_t t0; struct timeval tv; -#if defined(__SVR4) && defined(__sun) - /* Solaris doesn't have this structure, and ignores the second +#if defined(__SVR4) && defined(__sun) || defined(__NetBSD__) + /* Solaris and NetBSD don't have this structure, and ignores the second * parameter to gettimeofday() */ int tz; -- cgit v1.2.3