Must remember to require Socket.
Jarkko Hietaniemi [Wed, 12 Dec 2001 04:25:21 +0000 (04:25 +0000)]
p4raw-id: //depot/perl@13649

ext/Sys/Syslog/syslog.t

index 448bc54..30695e2 100755 (executable)
@@ -13,6 +13,8 @@ BEGIN {
        exit 0;
     }
 
+    require Socket;
+
     # This code inspired by Sys::Syslog::connect():
     require Sys::Hostname;
     my ($host_uniq) = Sys::Hostname::hostname();