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

[svn] Only include Unix-specific includes #ifndef WINDOWS.

This commit is contained in:
hniksic 2002-02-18 21:25:42 -08:00
parent 75a080ad0d
commit 667d494978
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-02-19 Hrvoje Niksic <hniksic@arsdigita.com>
* host.h: Include Unix-specific includes #ifndef WINDOWS.
Patch originally provided by Christian Lackas.
2002-02-11 Christian Lackas <delta@lackas.net>
* recur.c: recurive downloading for https fixed.

View File

@ -21,8 +21,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HOST_H
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#ifdef WINDOWS
# include <winsock.h>
#else
# include <sys/socket.h>
# include <netinet/in.h>
#ifndef __BEOS__
# include <arpa/inet.h>
#endif
#endif
#undef INET6