X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fgen_sslfunc.c;h=8b64b581e106945a1dad379a408c3eca178a699f;hb=2e8fc46b7b969039590758c4d0542dd72798e15f;hp=44ff5022e8444c1437d7a5e98db44b753cfe9230;hpb=4995bc34a19c05fab4a0067f4382066d50579d9d;p=wget diff --git a/src/gen_sslfunc.c b/src/gen_sslfunc.c index 44ff5022..8b64b581 100644 --- a/src/gen_sslfunc.c +++ b/src/gen_sslfunc.c @@ -18,19 +18,29 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include + #ifdef HAVE_SSL + +#include +#include +#include + #include #include #include #include #include #include -#include + #define SSL_ERR_CTX_CREATION -2 -#include + #include "wget.h" #include "connect.h" +#ifndef errno +extern int errno; +#endif + /* #### Shouldn't this be static? --hniksic */ int verify_callback PARAMS ((int, X509_STORE_CTX *));