aboutsummaryrefslogtreecommitdiff
path: root/posix/sys/utsname.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sys/utsname.h')
-rw-r--r--posix/sys/utsname.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/sys/utsname.h b/posix/sys/utsname.h
index 58002ba40a..e9891609bc 100644
--- a/posix/sys/utsname.h
+++ b/posix/sys/utsname.h
@@ -51,7 +51,11 @@ struct utsname
#if _UTSNAME_DOMAIN_LENGTH - 0
/* Name of the domain of this node on the network. */
+#ifdef __USE_GNU
char domainname[_UTSNAME_DOMAIN_LENGTH];
+#else
+ char __domainname[_UTSNAME_DOMAIN_LENGTH];
+#endif
#endif
};