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

Assume some headers files provided by gnulib are always present.

This commit is contained in:
Giuseppe Scrivano 2012-03-25 17:49:55 +02:00
parent 44ea82bc67
commit 6533cf2452
4 changed files with 14 additions and 16 deletions

View File

@ -1,3 +1,12 @@
2012-03-25 Giuseppe Scrivano <gscrivano@gnu.org>
* utils.c: Include <sys/ioctl.h>.
* ptimer.c: Include <sys/time.h>.
* connect.c: Include <sys/socket.h>, <sys/select.h>, <sys/time.h>.
Reported by: Ray Satiro <raysatiro@yahoo.com>.
2012-03-25 Ray Satiro <raysatiro@yahoo.com>
* build_info.c.in: Check that HAVE_LIBSSL32 is defined when OpenSSL

View File

@ -36,13 +36,8 @@ as that of the covered work. */
#include <unistd.h>
#include <assert.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif /* def HAVE_SYS_SOCKET_H */
#ifdef HAVE_SYS_SELECT_H
# include <sys/select.h>
#endif /* def HAVE_SYS_SELECT_H */
#include <sys/socket.h>
#include <sys/select.h>
#ifndef WINDOWS
# ifdef __VMS
@ -58,9 +53,7 @@ as that of the covered work. */
#include <errno.h>
#include <string.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/time.h>
#include "utils.h"
#include "host.h"
#include "connect.h"

View File

@ -59,9 +59,7 @@ as that of the covered work. */
#include <errno.h>
#include <unistd.h>
#include <time.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <sys/time.h>
/* 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

View File

@ -62,9 +62,7 @@ as that of the covered work. */
#include <sys/stat.h>
/* For TIOCGWINSZ and friends: */
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
#include <sys/ioctl.h>
#ifdef HAVE_TERMIOS_H
# include <termios.h>
#endif