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:
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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, \
|
||||
|
||||
@@ -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 "-->"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user