This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add socklen_t probe; Configure maintenance.
[perl5.git]
/
ext
/
Sys
/
Hostname
/
Hostname.xs
diff --git
a/ext/Sys/Hostname/Hostname.xs
b/ext/Sys/Hostname/Hostname.xs
index
98c07cf
..
f104383
100644
(file)
--- a/
ext/Sys/Hostname/Hostname.xs
+++ b/
ext/Sys/Hostname/Hostname.xs
@@
-18,8
+18,7
@@
# endif
#endif
# endif
#endif
-#if defined(HAS_UNAME) && !defined(WIN32)
-/* XXX need i_sys_utsname in config.sh */
+#ifdef I_SYSUTSNAME
# include <sys/utsname.h>
#endif
# include <sys/utsname.h>
#endif