about summary refs log tree commit diff
path: root/posix/sys/utsname.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sys/utsname.h')
-rw-r--r--posix/sys/utsname.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/posix/sys/utsname.h b/posix/sys/utsname.h
index 16435baf86..9d4ea6c4ad 100644
--- a/posix/sys/utsname.h
+++ b/posix/sys/utsname.h
@@ -48,6 +48,11 @@ struct utsname
 
     /* Name of the hardware type the system is running on.  */
     char machine[_UTSNAME_LENGTH];
+
+#if _UTSNAME_DOMAIN_LENGTH - 0
+    /* Name of the domain of this node on the network.  */
+    char domainname[_UTSNAME_DOMAIN_LENGTH];
+#endif
   };
 
 #ifdef __USE_SVID