1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +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
+1
View File
@@ -23,6 +23,7 @@
#include <regex.h>
#include <wctype.h>
#include "wee-config-file.h"
struct t_gui_buffer;
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_HDATA_H
#define WEECHAT_HDATA_H 1
#include <time.h>
#define HDATA_VAR(__struct, __name, __type, __update_allowed, \
__array_size, __hdata_name) \
hdata_new_var (hdata, #__name, offsetof (__struct, __name), \
+1
View File
@@ -22,6 +22,7 @@
#define WEECHAT_HOOK_H 1
#include <unistd.h>
#include <time.h>
#ifdef HAVE_GNUTLS
#include <gnutls/gnutls.h>
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_INFOLIST_H
#define WEECHAT_INFOLIST_H 1
#include <time.h>
/* list structures */
enum t_infolist_type
+2
View File
@@ -20,6 +20,8 @@
#ifndef WEECHAT_UTIL_H
#define WEECHAT_UTIL_H 1
#include <time.h>
#ifdef HAVE_SYS_RESOURCE_H
struct t_rlimit_resource
{
+1
View File
@@ -26,6 +26,7 @@
#endif
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include <signal.h>