summaryrefslogtreecommitdiff
path: root/ext/Sys/Hostname/Hostname.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Sys/Hostname/Hostname.xs')
-rw-r--r--ext/Sys/Hostname/Hostname.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/Sys/Hostname/Hostname.xs b/ext/Sys/Hostname/Hostname.xs
index f1043837e9..23ecd694ed 100644
--- a/ext/Sys/Hostname/Hostname.xs
+++ b/ext/Sys/Hostname/Hostname.xs
@@ -69,7 +69,9 @@ ghname()
# endif
# endif
#endif
+#ifndef HAS_GETHOSTNAME
check_out:
+#endif
if (retval == -1)
XSRETURN_UNDEF;
else