mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
LibCore: Refer to type utsname as struct on Solaris
This commit is contained in:
parent
8687dae0ca
commit
dcb95dba17
Notes:
sideshowbarker
2024-07-19 16:55:22 +09:00
Author: https://github.com/ghost
Commit: dcb95dba17
Pull-request: https://github.com/SerenityOS/serenity/pull/17623
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/elcuco
Reviewed-by: https://github.com/kleinesfilmroellchen ✅
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -1057,7 +1057,7 @@ ErrorOr<void> utime(StringView path, Optional<struct utimbuf> maybe_buf)
|
|||
|
||||
ErrorOr<struct utsname> uname()
|
||||
{
|
||||
utsname uts;
|
||||
struct utsname uts;
|
||||
#ifdef AK_OS_SERENITY
|
||||
int rc = syscall(SC_uname, &uts);
|
||||
HANDLE_SYSCALL_RETURN_VALUE("uname", rc, uts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue