aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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