fix compilation with lua 5.4

fixes #621
This commit is contained in:
Daniel Poelzleithner 2021-12-14 16:45:25 +01:00
parent 012b0cdd3e
commit a609f34971
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@
#include <lualib.h>
#include <lauxlib.h>
#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 504
#define lua_objlen lua_rawlen
#endif
/*
| The Lua part of Lsyncd
*/