summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklua.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/rocklua.c')
-rw-r--r--apps/plugins/lua/rocklua.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c
index 395cde8d9d..b92c274fb0 100644
--- a/apps/plugins/lua/rocklua.c
+++ b/apps/plugins/lua/rocklua.c
@@ -26,6 +26,7 @@
26#include "lualib.h" 26#include "lualib.h"
27#include "rocklib.h" 27#include "rocklib.h"
28#include "rockmalloc.h" 28#include "rockmalloc.h"
29#include "luadir.h"
29 30
30PLUGIN_HEADER 31PLUGIN_HEADER
31 32
@@ -39,6 +40,7 @@ static const luaL_Reg lualibs[] = {
39 {LUA_IOLIBNAME, luaopen_io}, 40 {LUA_IOLIBNAME, luaopen_io},
40 {LUA_LOADLIBNAME, luaopen_package}, 41 {LUA_LOADLIBNAME, luaopen_package},
41 {LUA_MATHLIBNAME, luaopen_math}, 42 {LUA_MATHLIBNAME, luaopen_math},
43 {LUA_DIRLIBNAME, luaopen_luadir},
42 {NULL, NULL} 44 {NULL, NULL}
43}; 45};
44 46