summaryrefslogtreecommitdiff
path: root/src/plugins/exec
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-01-13 20:57:59 +0100
committerSébastien Helleu <flashcode@flashtux.org>2017-01-13 20:57:59 +0100
commit1361602ea5e247de0e34698651ee936093f47de3 (patch)
tree600f6f1a1d889ab2af1545d8af9a264e34bb7931 /src/plugins/exec
parentb547bf6bbb036215531ade4d2870ac6eff1ce1a3 (diff)
downloadweechat-1361602ea5e247de0e34698651ee936093f47de3.zip
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.
Diffstat (limited to 'src/plugins/exec')
-rw-r--r--src/plugins/exec/exec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/exec/exec.h b/src/plugins/exec/exec.h
index d034befe4..31003773c 100644
--- a/src/plugins/exec/exec.h
+++ b/src/plugins/exec/exec.h
@@ -20,6 +20,7 @@
#ifndef WEECHAT_EXEC_H
#define WEECHAT_EXEC_H 1
+#include <unistd.h>
#include <time.h>
#define weechat_plugin weechat_exec_plugin