libs/core: fix type in luci.model.wireless
[project/luci.git] / libs / core / luasrc / init.lua
index 81a65b1..dc91a36 100644 (file)
@@ -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"