1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +02:00

tests: fix compilation of tests on FreeBSD 11

Some includes were missing in .h files, and the tests must be linked
with intl and execinfo on FreeBSD.
This commit is contained in:
Sébastien Helleu
2017-01-13 20:57:59 +01:00
parent b547bf6bbb
commit 1361602ea5
27 changed files with 52 additions and 0 deletions
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_IRC_CHANNEL_H
#define WEECHAT_IRC_CHANNEL_H 1
#include <time.h>
#define IRC_CHANNEL_DEFAULT_CHANTYPES "#&+!"
/* channel types */
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_IRC_CTCP_H
#define WEECHAT_IRC_CTCP_H 1
#include <time.h>
struct t_irc_server;
struct t_irc_channel;
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_IRC_PROTOCOL_H
#define WEECHAT_IRC_PROTOCOL_H 1
#include <time.h>
#define IRC_PROTOCOL_CALLBACK(__command) \
int \
irc_protocol_cb_##__command (struct t_irc_server *server, \
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_IRC_RAW_H
#define WEECHAT_IRC_RAW_H 1
#include <time.h>
#define IRC_RAW_BUFFER_NAME "irc_raw"
#define IRC_RAW_PREFIX_RECV "-->"
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_IRC_REDIRECT_H
#define WEECHAT_IRC_REDIRECT_H 1
#include <time.h>
#define IRC_REDIRECT_TIMEOUT_DEFAULT 60
struct t_irc_server;
+1
View File
@@ -21,6 +21,7 @@
#ifndef WEECHAT_IRC_SERVER_H
#define WEECHAT_IRC_SERVER_H 1
#include <time.h>
#include <sys/time.h>
#include <regex.h>