diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-14 19:11:19 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-14 19:11:19 +0400 |
commit | a0f41f7c5712e73e8aa521f2064bc53be3315d0a (patch) | |
tree | 147e4d8956a5a3b85e0ecc15b9fcbe29742e4e5c /src/lua | |
parent | a90c7d7a12561845e3371efc6803b1ecf6ad7d89 (diff) | |
download | rspamd-a0f41f7c5712e73e8aa521f2064bc53be3315d0a.tar.gz rspamd-a0f41f7c5712e73e8aa521f2064bc53be3315d0a.zip |
* 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)
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_common.h | 5 |
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 */ |