diff options
Diffstat (limited to 'ext/socket/lib/socket.rb')
-rw-r--r-- | ext/socket/lib/socket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb index eaec14f933..df526d73c6 100644 --- a/ext/socket/lib/socket.rb +++ b/ext/socket/lib/socket.rb @@ -1347,4 +1347,4 @@ class UNIXServer < UNIXSocket def accept_nonblock(exception: true) __accept_nonblock(exception) end -end +end if defined?(UNIXSocket) |