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:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <regex.h>
|
||||
#include <wctype.h>
|
||||
|
||||
#include "wee-config-file.h"
|
||||
|
||||
struct t_gui_buffer;
|
||||
|
||||
@@ -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), \
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#define WEECHAT_HOOK_H 1
|
||||
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef HAVE_GNUTLS
|
||||
#include <gnutls/gnutls.h>
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef WEECHAT_INFOLIST_H
|
||||
#define WEECHAT_INFOLIST_H 1
|
||||
|
||||
#include <time.h>
|
||||
|
||||
/* list structures */
|
||||
|
||||
enum t_infolist_type
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user