From e7f723539d39f20092aabfb5b51826807e016fe3 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 21 Jul 2012 14:26:19 +0200 Subject: Some aid for compiler warnings --- src/common/ssl.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/common/ssl.c') diff --git a/src/common/ssl.c b/src/common/ssl.c index daa7416b..04fb6ac5 100644 --- a/src/common/ssl.c +++ b/src/common/ssl.c @@ -20,12 +20,17 @@ #include "inet.h" /* make it first to avoid macro redefinitions */ #include /* SSL_() */ #include /* ERR_() */ -#include /* asctime() */ +#ifdef WIN32 +#include /* RAND_seed() */ +#endif +#include /* asctime() */ #include /* strncpy() */ -#include "ssl.h" /* struct cert_info */ +#include "ssl.h" /* struct cert_info */ #include "../../config.h" /* HAVE_SNPRINTF */ #ifndef HAVE_SNPRINTF +#include +#include #define snprintf g_snprintf #endif -- cgit 1.4.1