In order to build against Lua 5.3, a small patch is needed.

- Thomas
diff --git a/src/lua-lxc/core.c b/src/lua-lxc/core.c
index 2e073d8..630a3e4 100644
--- a/src/lua-lxc/core.c
+++ b/src/lua-lxc/core.c
@@ -38,6 +38,10 @@
 #define luaL_checkunsigned(L,n) luaL_checknumber(L,n)
 #endif
 
+#if LUA_VERSION_NUM >= 503
+#define luaL_checkunsigned(L,n) ((lua_Unsigned)luaL_checkinteger(L,n))
+#endif
+
 #ifdef NO_CHECK_UDATA
 #define checkudata(L,i,tname)	lua_touserdata(L, i)
 #else
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to