Probe for <sys/utsname.h>.
[p5sagit/p5-mst-13.2.git] / ext / Sys / Hostname / Hostname.xs
index 98c07cf..c2ab9bd 100644 (file)
@@ -18,8 +18,7 @@
 #  endif
 #endif
 
-#if defined(HAS_UNAME) && !defined(WIN32)
-/* XXX need i_sys_utsname in config.sh */
+#ifdef I_SYS_UTSNAME
 #  include <sys/utsname.h>
 #endif