diff options
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r-- | util/dependencies.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index 9b0afd77..8dc867e8 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -77,6 +77,10 @@ local function check_dependencies() ["Source"] = "http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/"; }); fatal = true; + elseif not socket.tcp4 then + -- COMPAT LuaSocket before being IP-version agnostic + socket.tcp4 = socket.tcp; + socket.udp4 = socket.udp; end local lfs, err = softreq "lfs" |