--- mstools/posix/h/sys/utsname.h 2018/08/09 18:22:18 1.1 +++ mstools/posix/h/sys/utsname.h 2018/08/09 18:24:38 1.1.1.2 @@ -11,12 +11,6 @@ Abstract: This module contains the utsname structure described in section 4.4.1.2 of IEEE P1003.1/Draft 13. -Author: - - Mark Lucovsky (markl) 15-Mar-1989 - -Revision History: - --*/ #ifndef _UTSNAME_ @@ -24,6 +18,10 @@ Revision History: #include +#ifdef __cplusplus +extern "C" { +#endif + struct utsname { char sysname[_POSIX_NAME_MAX]; char nodename[_POSIX_NAME_MAX]; @@ -32,4 +30,8 @@ struct utsname { char machine[_POSIX_NAME_MAX]; }; +#ifdef __cplusplus +} +#endif + #endif /* _UTSNAME_ */