mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Add the necessary includes for compilation under FreeBSD.
Submitted by Alan Eldridge in <200202130630.g1D6U3S07907@wwweasel.geeksrus.net>.
This commit is contained in:
parent
a9ff5853a9
commit
57f36f8a6a
@ -1,3 +1,9 @@
|
|||||||
|
2002-02-19 Alan Eldridge <alane@geeksrus.net>
|
||||||
|
|
||||||
|
* host.h: Also include <netinet/in.h> and <sys/socket.h>.
|
||||||
|
|
||||||
|
* ftp-basic.c: Also include <netinet/in.h>.
|
||||||
|
|
||||||
2002-02-05 Ian Abbott <abbotti@mev.co.uk>
|
2002-02-05 Ian Abbott <abbotti@mev.co.uk>
|
||||||
|
|
||||||
* http.c (gethttp): when -c used, mark already fully retrieved
|
* http.c (gethttp): when -c used, mark already fully retrieved
|
||||||
|
@ -36,6 +36,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||||||
/* For inet_ntop. */
|
/* For inet_ntop. */
|
||||||
#ifndef WINDOWS
|
#ifndef WINDOWS
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,6 +21,8 @@ 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>
|
||||||
|
|
||||||
#undef INET6
|
#undef INET6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user