From a0f41f7c5712e73e8aa521f2064bc53be3315d0a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 14 Sep 2009 19:11:19 +0400 Subject: * New system of classifiers interface and statfiles processing * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh) --- src/lua/lua_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lua') 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 @@ -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 */ -- cgit v1.2.3