aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-09 10:45:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-09 10:47:19 +0100
commite0cd571a328c9d218240e8fc40a49f8efffcbc33 (patch)
treee958d9ebe39c12618179dca440562161200d74bb /src/libserver
parent99071239e4c40770dfcfa9cc1264e83e2469fe6c (diff)
downloadrspamd-e0cd571a328c9d218240e8fc40a49f8efffcbc33.tar.gz
rspamd-e0cd571a328c9d218240e8fc40a49f8efffcbc33.zip
[Fix] Fix build where ucontext is defined in ucontext.h
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/worker_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c
index 68ea9730e..7380a1ffd 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -50,6 +50,10 @@
#define UNWIND_BACKTRACE_DEPTH 256
#endif
+#ifdef HAVE_UCONTEXT_H
+#include <ucontext.h>
+#endif
+
static void rspamd_worker_ignore_signal (int signo);
/**
* Return worker's control structure by its type