libs/core: make sure that bitlib is loaded, fixes some sdk problems
This commit is contained in:
parent
112d053284
commit
62fade5709
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user