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 395cde8..b92c274 100644
--- a/apps/plugins/lua/rocklua.c
+++ b/apps/plugins/lua/rocklua.c
@@ -26,6 +26,7 @@
#include "lualib.h"
#include "rocklib.h"
#include "rockmalloc.h"
+#include "luadir.h"
PLUGIN_HEADER
@@ -39,6 +40,7 @@ static const luaL_Reg lualibs[] = {
{LUA_IOLIBNAME, luaopen_io},
{LUA_LOADLIBNAME, luaopen_package},
{LUA_MATHLIBNAME, luaopen_math},
+ {LUA_DIRLIBNAME, luaopen_luadir},
{NULL, NULL}
};