aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-03 16:02:06 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-05-03 16:02:06 +0100
commitc48c8f0a3e7b30272c5f4875a22af2d62958a40c (patch)
tree574c0afc58afe08d7064ed1ec996cf5ab985fc2d
parent108d7c56bf344ca5613e0fcc966926c5aed0f536 (diff)
downloadrspamd-c48c8f0a3e7b30272c5f4875a22af2d62958a40c.tar.gz
rspamd-c48c8f0a3e7b30272c5f4875a22af2d62958a40c.zip
[Minor] Missing include
-rw-r--r--src/lua/lua_common.c1
-rw-r--r--src/lua/lua_worker.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index f1ed7bb3b..1b3e0121d 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -23,7 +23,6 @@
#include "libserver/rspamd_control.h"
#include <math.h>
-#include <sys/wait.h>
/* Lua module init function */
diff --git a/src/lua/lua_worker.c b/src/lua/lua_worker.c
index 2b56ca392..ec9c08f5d 100644
--- a/src/lua/lua_worker.c
+++ b/src/lua/lua_worker.c
@@ -20,6 +20,8 @@
#include "rspamd_control.h"
#include "ottery.h"
+#include <sys/wait.h>
+
/***
* @module rspamd_worker
* This module provides methods to access worker related functions in various