diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2007-09-14 18:22:40 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2007-09-14 18:22:40 +0000 |
commit | c228658f2d560b752f757ff23881e558cf637a97 (patch) | |
tree | cfcf31a99148e0438a6d0f8d748d80f1b5a626e7 /image/mng.c | |
parent | b82546a39f6fad667d155b2d402e79e8617d7c23 (diff) | |
download | netsurf-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/mng.c')
-rw-r--r-- | image/mng.c | 4 |
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; |