# github.com/snapcore/snapd/vendor/golang.org/x/sys/unix
src/github.com/snapcore/snapd/vendor/golang.org/x/sys/unix/dirent.go:16:5: error: reference to undefined name ‘isBigEndian’
if isBigEndian {
^
src/github.com/snapcore/snapd/vendor/golang.org/x/sys/unix/dirent.go:81:41: error: use of undefined type ‘Dirent’
const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
^
src/github.com/snapcore/snapd/vendor/golang.org/x/sys/unix/flock.go:13:30: error: reference to undefined name ‘SYS_FCNTL’
var fcntl64Syscall uintptr = SYS_FCNTL
^
src/github.com/snapcore/snapd/vendor/golang.org/x/sys/unix/sockcmsg_linux.go:15:30: error: reference to undefined name ‘SizeofUcred’
b := make([]byte, CmsgSpace(SizeofUcred))
^
src/github.com/snapcore/snapd/vendor/golang.org/x/sys/unix/sockcmsg_linux.go:16:9: error: reference to undefined name ‘Cmsghdr’
h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
^
src/github.com/snapcore/snapd/vendor/golang.org/x/sys/unix/sockcmsg_linux.go:16:8: error: expected pointer
h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
^
src/github.com/snapcore/snapd/vendor/golang.org/x/sys/unix/sockcmsg_linux.go:17:12: error: reference to undefined name ‘SOL_SOCKET’
h.Level = SOL_SOCKET
...