Fixed compilation problems when gnutls dev lib is not found

This commit is contained in:
Sebastien Helleu 2008-04-03 16:05:09 +02:00
parent 8509f777b4
commit bab03d044b
9 changed files with 9 additions and 4 deletions

View File

@ -27,6 +27,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include "weechat.h"
#include "wee-command.h"

View File

@ -28,6 +28,7 @@
#include <stdarg.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
#include "weechat.h"
#include "wee-config-file.h"

View File

@ -31,6 +31,7 @@
#include <dirent.h>
#include <signal.h>
#include <ctype.h>
#include <time.h>
#include "weechat.h"
#include "wee-util.h"

View File

@ -27,10 +27,6 @@
#include <stdio.h>
#include <sys/time.h>
#ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h>
#endif
#include <locale.h>
#if defined(ENABLE_NLS) && !defined(_)

View File

@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "../../core/weechat.h"
#include "../../core/wee-config.h"

View File

@ -25,6 +25,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "../../core/weechat.h"
#include "../../core/wee-config.h"

View File

@ -27,6 +27,7 @@
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include <time.h>
#include <regex.h>
#include "../core/weechat.h"

View File

@ -68,6 +68,8 @@ extern struct t_hook *irc_hook_timer_check_away;
extern int irc_debug;
#ifdef HAVE_GNUTLS
extern gnutls_certificate_credentials gnutls_xcred;
#endif
#endif /* irc.h */

View File

@ -30,6 +30,7 @@
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include "../core/weechat.h"
#include "../core/wee-config.h"