luci-lib-nixio: allow building with Lua5.2/LuaJIT
[project/luci.git] / libs / luci-lib-nixio / src / tls-socket.c
index fe4cb60755c8eb2749d65116028997833ea6c098..122f598e0a09cec929a3c7586093a94c80f26ea1 100644 (file)
@@ -239,7 +239,7 @@ static int nixio_tls_sock__tostring(lua_State *L) {
 
 
 /* ctx function table */
-static const luaL_reg M[] = {
+static const luaL_Reg M[] = {
        {"recv",                nixio_tls_sock_recv},
        {"send",                nixio_tls_sock_send},
        {"read",                nixio_tls_sock_recv},