diff options
Diffstat (limited to 'image/mng.c')
-rw-r--r-- | image/mng.c | 7 |
1 files changed, 4 insertions, 3 deletions
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 |