]>
Commit | Line | Data |
---|---|---|
1 | --- rpm-5.4.10/lua/linit.c~ 2012-10-03 14:46:45.303935753 +0200 | |
2 | +++ rpm-5.4.10/lua/linit.c 2012-10-03 14:48:19.503932430 +0200 | |
3 | @@ -13,6 +13,8 @@ | |
4 | #include "lualib.h" | |
5 | #include "lauxlib.h" | |
6 | ||
7 | +#include "lposix.h" | |
8 | +#include "lrexlib.h" | |
9 | ||
10 | static const luaL_Reg lualibs[] = { | |
11 | {"", luaopen_base}, | |
12 | @@ -26,6 +26,9 @@ | |
13 | {LUA_STRLIBNAME, luaopen_string}, | |
14 | {LUA_MATHLIBNAME, luaopen_math}, | |
15 | {LUA_DBLIBNAME, luaopen_debug}, | |
16 | + {"rex_posix", luaopen_rex_posix}, | |
17 | + {"rex_pcre", luaopen_rex_pcre}, | |
18 | + {"posix", luaopen_posix}, | |
19 | {NULL, NULL} | |
20 | }; | |
21 |