diff options
Diffstat (limited to 'src/helper/replacements.h')
-rw-r--r-- | src/helper/replacements.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h index 33e85501..553cde1b 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -77,19 +77,17 @@ struct timeval { long tv_usec; }; -struct timezone { - int tz_minuteswest; - int tz_dsttime; -}; - #endif /* _TIMEVAL_DEFINED */ #endif /* gettimeofday() */ #ifndef HAVE_GETTIMEOFDAY -struct timeval; -struct timezone; +struct timezone { + int tz_minuteswest; + int tz_dsttime; +}; + extern int gettimeofday(struct timeval *tv, struct timezone *tz); #endif |