diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-17 01:56:15 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-17 01:56:15 +0000 |
commit | 62fade570951964115136f2cd47487633cd529be (patch) | |
tree | f42fff4c3fddfd8d603a871b2a9175c11e865785 /libs/core | |
parent | 112d053284baf321a8529690f6483709ae6f4acb (diff) |
libs/core: make sure that bitlib is loaded, fixes some sdk problems
Diffstat (limited to 'libs/core')
-rw-r--r-- | libs/core/luasrc/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/core/luasrc/init.lua b/libs/core/luasrc/init.lua index 81a65b181..dc91a36a0 100644 --- a/libs/core/luasrc/init.lua +++ b/libs/core/luasrc/init.lua @@ -26,6 +26,11 @@ limitations under the License. local require = require +-- Make sure that bitlib is loaded +if not _G.bit then + _G.bit = require "bit" +end + module "luci" local v = require "luci.version" |