diff options
-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 81a65b181f..dc91a36a0f 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" |