summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index ff475c0a1..ab06166b3 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -2,6 +2,8 @@
#define RSPAMD_LUA_H
#include "../config.h"
+#ifdef WITH_LUA
+
#include "../main.h"
#include "../cfg_file.h"
#include <lua.h>
@@ -30,4 +32,5 @@ int lua_call_chain_filter (const char *function, struct worker_task *task, int *
double lua_consolidation_func (struct worker_task *task, const char *metric_name, const char *function_name);
void add_luabuf (const char *line);
-#endif
+#endif /* WITH_LUA */
+#endif /* RSPAMD_LUA_H */