X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fptimer.c;h=695019e9389079c497484486b3d8cda294532dea;hp=ebfdf5a09779f11338c1498e63dd353ca2bbdc76;hb=277e840a0f8e3ec8800cfe7407fe3c16000bc622;hpb=9000d2b527680b4b13964475d84df42815d40e37 diff --git a/src/ptimer.c b/src/ptimer.c index ebfdf5a0..695019e9 100644 --- a/src/ptimer.c +++ b/src/ptimer.c @@ -54,17 +54,13 @@ so, delete this exception statement from your version. */ #include #include -#ifdef HAVE_STRING_H -# include -#else /* not HAVE_STRING_H */ -# include -#endif /* not HAVE_STRING_H */ -#include +#include #include #ifdef HAVE_UNISTD_H # include #endif #include +#include /* Cygwin currently (as of 2005-04-08, Cygwin 1.5.14) lacks clock_getres, but still defines _POSIX_TIMERS! Because of that we simply use the @@ -76,10 +72,6 @@ so, delete this exception statement from your version. */ #include "wget.h" #include "ptimer.h" -#ifndef errno -extern int errno; -#endif - /* Depending on the OS and availability of gettimeofday(), one and only one of PTIMER_POSIX, PTIMER_GETTIMEOFDAY, PTIMER_WINDOWS, or PTIMER_TIME will be defined. */