diff --git a/unix/linux/types.go b/unix/linux/types.go index 02445fa1..e5e9e0e0 100644 --- a/unix/linux/types.go +++ b/unix/linux/types.go @@ -815,6 +815,8 @@ type FdSet C.fd_set type Sysinfo_t C.struct_sysinfo +const SI_LOAD_SHIFT = C.SI_LOAD_SHIFT + type Utsname C.struct_utsname type Ustat_t C.struct_ustat diff --git a/unix/ztypes_linux.go b/unix/ztypes_linux.go index 11b15ef7..498c17a8 100644 --- a/unix/ztypes_linux.go +++ b/unix/ztypes_linux.go @@ -673,6 +673,8 @@ type InotifyEvent struct { const SizeofInotifyEvent = 0x10 +const SI_LOAD_SHIFT = 0x10 + type Utsname struct { Sysname [65]byte Nodename [65]byte