X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/96e7a3a50b11d69da83e67ec78b5a7656bb903de..a361cddfb94f27a6434300e6c1ae6d3268d7087f:/client/cmdscript.c

diff --git a/client/cmdscript.c b/client/cmdscript.c
index bd4a3006..86cb91b4 100644
--- a/client/cmdscript.c
+++ b/client/cmdscript.c
@@ -24,6 +24,7 @@
 #include "cmdmain.h"
 #include "cmdscript.h"
 #include "cmdhfmf.h"
+#include "pm3_binlib.h"
 
 #include <lua.h>
 #include <lualib.h>
@@ -210,6 +211,10 @@ int CmdRun(const char *Cmd)
 
     //Sets the 'command line' libraries, basically just the commandline stuff
     set_cmdlibraries(lua_state);
+
+    //Add the 'bin' library
+    set_bin_library(lua_state);
+
     char cmd_name[32];
     int len = 0;
     memset(cmd_name, 0, 32);