From cec0d8b89bc28648312d5557d7100507476cbfb9 Mon Sep 17 00:00:00 2001 From: Alex Arslan Date: Fri, 10 Aug 2018 15:21:22 +0100 Subject: [PATCH] Add Sockets.DNSError (#594) It's available in the Sockets stdlib module (and as Base.DNSError in earlier Julia version) but is not exported. This adds it to the imports when defining Compat.Sockets but does not export it. --- src/Compat.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compat.jl b/src/Compat.jl index ac557f4a6..54adc0724 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -6,7 +6,7 @@ module Compat if VERSION < v"0.7.0-DEV.4442" @eval module Sockets import Base: - @ip_str, IPAddr, IPv4, IPv6, UDPSocket, TCPSocket, + @ip_str, IPAddr, IPv4, IPv6, UDPSocket, TCPSocket, DNSError, accept, connect, getaddrinfo, getipaddr, getsockname, listen, listenany, recv, recvfrom, send, bind