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:
parent
75a080ad0d
commit
667d494978
@ -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>
|
2002-02-11 Christian Lackas <delta@lackas.net>
|
||||||
|
|
||||||
* recur.c: recurive downloading for https fixed.
|
* recur.c: recurive downloading for https fixed.
|
||||||
|
12
src/host.h
12
src/host.h
@ -21,8 +21,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
#define HOST_H
|
#define HOST_H
|
||||||
|
|
||||||
#include <netdb.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
|
#undef INET6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user