summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/sockopt.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-06-16 17:27:01 +0200
committerGitHub <noreply@github.com>2020-06-16 17:27:01 +0200
commitd1134c1a40692e0151e71c9b6ce1d5e07f2ddbcd (patch)
treedece122600eee910b1c7ecf20e91318b861cb03d /libs/luci-lib-nixio/src/sockopt.c
parent2ced86048c7006f3637ed38ceeb3d21fddbb93e2 (diff)
parent6c0b8a40f7938c027953bd4c650a02e8aad77861 (diff)
Merge pull request #3676 from Tarnyko/master
luci-lib-nixio: allow building with Lua5.2/LuaJIT
Diffstat (limited to 'libs/luci-lib-nixio/src/sockopt.c')
-rw-r--r--libs/luci-lib-nixio/src/sockopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luci-lib-nixio/src/sockopt.c b/libs/luci-lib-nixio/src/sockopt.c
index cede884ce4..7b6f0488b6 100644
--- a/libs/luci-lib-nixio/src/sockopt.c
+++ b/libs/luci-lib-nixio/src/sockopt.c
@@ -366,7 +366,7 @@ static int nixio_sock_setsockopt(lua_State *L) {
}
/* module table */
-static const luaL_reg M[] = {
+static const luaL_Reg M[] = {
{"setblocking", nixio_sock_setblocking},
{"getsockopt", nixio_sock_getsockopt},
{"setsockopt", nixio_sock_setsockopt},