summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2007-09-14 18:22:40 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2007-09-14 18:22:40 +0000
commitc228658f2d560b752f757ff23881e558cf637a97 (patch)
treecfcf31a99148e0438a6d0f8d748d80f1b5a626e7 /image
parentb82546a39f6fad667d155b2d402e79e8617d7c23 (diff)
downloadnetsurf-c228658f2d560b752f757ff23881e558cf637a97.tar.gz
netsurf-c228658f2d560b752f757ff23881e558cf637a97.tar.bz2
NetBSD doesn't have the timezone struct, either.
svn path=/trunk/netsurf/; revision=3536
Diffstat (limited to 'image')
-rw-r--r--image/mng.c4
1 files changed, 2 insertions, 2 deletions
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;