1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Include sys/time.h to get struct timeval.

This commit is contained in:
hniksic 2005-06-29 14:32:17 -07:00
parent 4e6b148f6a
commit c60604c91a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
* ptimer.c: Include sys/time.h to get struct timeval.
2005-06-29 Hrvoje Niksic <hniksic@xemacs.org>
* wget.h: Remove obsolete definition of with_thousand_seps_sum.

View File

@ -59,8 +59,10 @@ so, delete this exception statement from your version. */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <assert.h>
#include <time.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
/* 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