From bdecf0cda3282e8f5ea8ab16aae3ef9cc0b0a1fd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 11 Jan 2010 17:44:07 +0000 Subject: cleaned up lua libs (no require socket anymore) --- src/anylike.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/anylike.c') diff --git a/src/anylike.c b/src/anylike.c index 637c527..427477f 100644 --- a/src/anylike.c +++ b/src/anylike.c @@ -36,6 +36,7 @@ #include #include #include +#include #include "datatypes.h" #include "options.h" @@ -98,13 +99,13 @@ extern const u_int32_t anylike_lua_bytecode_len; static const luaL_Reg anylike_lualibs[] = { {"", luaopen_base}, - {LUA_LOADLIBNAME, luaopen_package}, {LUA_TABLIBNAME, luaopen_table}, {LUA_STRLIBNAME, luaopen_string}, {LUA_MATHLIBNAME, luaopen_math}, {LUA_LOGLIBNAME, luaopen_log}, {LUA_SIGNALLIBNAME, luaopen_signal}, {LUA_CRYPTLIBNAME, luaopen_crypt}, + {"socket", luaopen_socket_core}, {NULL, NULL} }; -- cgit v1.2.3