Some aid for compiler warnings

This commit is contained in:
Berke Viktor
2012-07-21 14:26:19 +02:00
parent 4cae471af3
commit e7f723539d
33 changed files with 92 additions and 22 deletions

View File

@@ -20,12 +20,17 @@
#include "inet.h" /* make it first to avoid macro redefinitions */
#include <openssl/ssl.h> /* SSL_() */
#include <openssl/err.h> /* ERR_() */
#include <time.h> /* asctime() */
#ifdef WIN32
#include <openssl/rand.h> /* RAND_seed() */
#endif
#include <time.h> /* asctime() */
#include <string.h> /* strncpy() */
#include "ssl.h" /* struct cert_info */
#include "ssl.h" /* struct cert_info */
#include "../../config.h" /* HAVE_SNPRINTF */
#ifndef HAVE_SNPRINTF
#include <glib.h>
#include <glib/gprintf.h>
#define snprintf g_snprintf
#endif