This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add socklen_t probe; Configure maintenance.
[perl5.git] / ext / Sys / Hostname / Hostname.xs
index 98c07cf..f104383 100644 (file)
@@ -18,8 +18,7 @@
 #  endif
 #endif
 
-#if defined(HAS_UNAME) && !defined(WIN32)
-/* XXX need i_sys_utsname in config.sh */
+#ifdef I_SYSUTSNAME
 #  include <sys/utsname.h>
 #endif