X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fptimer.c;h=88ad049dbc204ccf777d9caaa4b59de1dd6a5a8e;hp=4a6c89fb1c56f31ed5523f8e9ce3086c0fb4c684;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=462e643a7e31676eceda23e634241f7b4d2cd7bb diff --git a/src/ptimer.c b/src/ptimer.c index 4a6c89fb..88ad049d 100644 --- a/src/ptimer.c +++ b/src/ptimer.c @@ -1,5 +1,5 @@ /* Portable timers. - Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -71,6 +71,7 @@ as that of the covered work. */ # include #endif +#include "utils.h" #include "ptimer.h" /* Depending on the OS, one and only one of PTIMER_POSIX, @@ -132,7 +133,7 @@ posix_init (void) #endif { CLOCK_REALTIME, NO_SYSCONF_CHECK }, }; - int i; + size_t i; /* Determine the clock we can use. For a clock to be usable, it must be confirmed with sysconf (where applicable) and with