aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-27 11:17:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-27 11:17:42 +0100
commita5f75e4a3fb4e6562c09799f01d9af6107450e01 (patch)
treea9ce1c11ca8f8bb92eb7e0f3b2f0356ab72ccae5 /src/libserver/worker_util.c
parentb7dbb7d1c7ca8716996b324e6e16de87c6646d7c (diff)
downloadrspamd-a5f75e4a3fb4e6562c09799f01d9af6107450e01.tar.gz
rspamd-a5f75e4a3fb4e6562c09799f01d9af6107450e01.zip
[Fix] Fix alignment mess
Issue: #2945
Diffstat (limited to 'src/libserver/worker_util.c')
-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 5c5d41b90..3ad528d1e 100644
--- a/src/libserver/worker_util.c
+++ b/src/libserver/worker_util.c
@@ -57,6 +57,10 @@
#include <sys/ucontext.h>
#endif
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
#include "contrib/libev/ev.h"
static void rspamd_worker_ignore_signal (struct rspamd_worker_signal_handler *);