diff options
Diffstat (limited to 'lib/timeval.c')
-rw-r--r-- | lib/timeval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/timeval.c b/lib/timeval.c index ff8d8a69a..e2bd7fd14 100644 --- a/lib/timeval.c +++ b/lib/timeval.c @@ -66,7 +66,9 @@ struct curltime Curl_now(void) ** in any case the time starting point does not change once that the ** system has started up. */ +#ifdef HAVE_GETTIMEOFDAY struct timeval now; +#endif struct curltime cnow; struct timespec tsnow; |