mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Guard inclusion of some headers.
This commit is contained in:
parent
639a454528
commit
2b1dd8d23b
@ -1,3 +1,7 @@
|
||||
2011-05-26 Steven Schweda <sms@antinode.info>
|
||||
* connect.c [HAVE_SYS_SOCKET_H]: Include <sys/socket.h>.
|
||||
[HAVE_SYS_SELECT_H]: Include <sys/select.h>.
|
||||
|
||||
2012-05-26 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* warc.c: Change type of `warc_current_gzfile' to gzFile.
|
||||
|
@ -36,8 +36,13 @@ 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 */
|
||||
|
||||
#ifndef WINDOWS
|
||||
# ifdef __VMS
|
||||
|
Loading…
Reference in New Issue
Block a user