summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-02-15 23:11:55 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-15 23:11:55 +0000
commitd4935d7f25ace6b599fe75f422b41624ca6bf4a6 (patch)
tree96fc0758b13c664cf47c411eb72467dc0a2c50e1 /ext
parentc13fdd862cdcd2a9001523a3b81e435228302b74 (diff)
downloadperl-d4935d7f25ace6b599fe75f422b41624ca6bf4a6.tar.gz
Probe for <sys/utsname.h>.
p4raw-id: //depot/cfgperl@5115
Diffstat (limited to 'ext')
-rw-r--r--ext/Sys/Hostname/Hostname.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/Sys/Hostname/Hostname.xs b/ext/Sys/Hostname/Hostname.xs
index 98c07cf58a..c2ab9bdd14 100644
--- a/ext/Sys/Hostname/Hostname.xs
+++ b/ext/Sys/Hostname/Hostname.xs
@@ -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