From 25018c455b1297b72bb793a8eba7bc9426e28326 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 11 Aug 2008 16:44:12 +0000 Subject: Make nsgtk compile on Mac OS X. svn path=/trunk/netsurf/; revision=5031 --- image/mng.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'image/mng.c') diff --git a/image/mng.c b/image/mng.c index e4e375922..d6902f4e9 100644 --- a/image/mng.c +++ b/image/mng.c @@ -383,9 +383,10 @@ mng_uint32 nsmng_gettickcount(mng_handle mng) { static bool start = true; static time_t t0; struct timeval tv; -#if defined(__SVR4) && defined(__sun) || defined(__NetBSD__) - /* Solaris and NetBSD don't have this structure, and ignores the second - * parameter to gettimeofday() +#if defined(__SVR4) && defined(__sun) || defined(__NetBSD__) || \ + defined(__APPLE__) + /* Solaris, NetBSD, and OS X don't have this structure, and ignore the + * second parameter to gettimeofday() */ int tz; #else -- cgit v1.2.3