commit c48c8f0: [Minor] Missing include

Vsevolod Stakhov vsevolod at highsecure.ru
Fri May 3 15:07:07 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-05-03 16:02:06 +0100
URL: https://github.com/rspamd/rspamd/commit/c48c8f0a3e7b30272c5f4875a22af2d62958a40c (HEAD -> master)

[Minor] Missing include

---
 src/lua/lua_common.c | 1 -
 src/lua/lua_worker.c | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

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


More information about the Commits mailing list