diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-29 20:35:00 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-29 20:35:00 +0400 |
commit | 4c4773d96b1b2a157009590908fce032696281c5 (patch) | |
tree | c9709f5a21b4eafbfee04327884cb5c6d39006e4 /src/lua/lua_cdb.c | |
parent | 513e304bc6255492eee5c78c97d222037087f429 (diff) | |
download | rspamd-4c4773d96b1b2a157009590908fce032696281c5.tar.gz rspamd-4c4773d96b1b2a157009590908fce032696281c5.zip |
* Fix build under CentOS 5 with old glib 2.12
* Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR
Rework include style.
Diffstat (limited to 'src/lua/lua_cdb.c')
-rw-r--r-- | src/lua/lua_cdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_cdb.c b/src/lua/lua_cdb.c index fbbc69359..7adfeeac5 100644 --- a/src/lua/lua_cdb.c +++ b/src/lua/lua_cdb.c @@ -22,7 +22,7 @@ */ #include "lua_common.h" -#include "../cdb/cdb.h" +#include "cdb/cdb.h" #define CDB_REFRESH_TIME 60 @@ -104,7 +104,7 @@ lua_cdb_lookup (lua_State *L) const gchar *what; gchar *value; gsize vlen; - goffset vpos; + gint64 vpos; /* * XXX: this code is placed here because event_loop is called inside workers, so start |