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

#include <sys/types.h>

This commit is contained in:
Micah Cowan 2009-06-12 15:37:10 -07:00
parent f0790f6412
commit 1975b2f8f5
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2009-06-12 Micah Cowan <micah@cowan.name> 2009-06-12 Micah Cowan <micah@cowan.name>
* host.c: Include <sys/types.h> before <sys/socket.h>. Not
required by POSIX any more, but some older systems (such as
FreeBSD 4.1) still need it, and it doesn't seem like it could
hurt...
* build_info.c (library): Handle "https" as a feature in its own * build_info.c (library): Handle "https" as a feature in its own
right, apart from "gnutls" and "openssl". right, apart from "gnutls" and "openssl".

View File

@ -36,6 +36,7 @@ as that of the covered work. */
#include <assert.h> #include <assert.h>
#ifndef WINDOWS #ifndef WINDOWS
# include <sys/types.h>
# include <sys/socket.h> # include <sys/socket.h>
# include <netinet/in.h> # include <netinet/in.h>
# ifndef __BEOS__ # ifndef __BEOS__